Move types to lib directory for better organization
- Move types/location.ts to lib/types.ts - Update all imports from @/types/location to @/lib/types - Remove empty types/ directory - Better aligns with Next.js conventions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useState, useRef } from "react";
|
||||
import { Location, LocationResponse } from "@/types/location";
|
||||
import { Location, LocationResponse } from "@/lib/types";
|
||||
import { getDevice, DEFAULT_DEVICE } from "@/lib/devices";
|
||||
import L from "leaflet";
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user