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:
2025-12-01 08:56:31 +00:00
parent 40f882e4bf
commit 7aab1ab789
5 changed files with 4 additions and 4 deletions

View File

@@ -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 {