mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 16:51:13 -05:00
Refactor: Implement logging phases
This commit is contained in:
@@ -4,6 +4,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
|
||||
import { Search, Edit, MapPin, Loader2, X } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { logger } from '@/lib/logger';
|
||||
|
||||
interface LocationResult {
|
||||
place_id: number;
|
||||
@@ -64,7 +65,7 @@ export function HeadquartersLocationInput({
|
||||
setShowResults(true);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error searching locations:', error);
|
||||
logger.error('Error searching locations', { error });
|
||||
} finally {
|
||||
setIsSearching(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user