diff --git a/src/components/assets/missing-location/TagMissingLocationDialog/RecentSearches.tsx b/src/components/assets/missing-location/TagMissingLocationDialog/RecentSearches.tsx index 7c12eeb..9739654 100644 --- a/src/components/assets/missing-location/TagMissingLocationDialog/RecentSearches.tsx +++ b/src/components/assets/missing-location/TagMissingLocationDialog/RecentSearches.tsx @@ -1,6 +1,5 @@ import { Button } from "@/components/ui/button"; -import { cn } from "@/lib/utils"; -import { getRecentSearchesByType, RecentSearch } from "@/lib/utils"; +import { getRecentSearchesByType, RecentSearch, cn } from "@/lib/utils"; import { IPlace } from "@/types/common"; import { Clock, MapPin } from "lucide-react"; import React from "react"; @@ -9,9 +8,10 @@ interface RecentSearchesProps { searchType: RecentSearch['searchType']; onSelect: (place: IPlace) => void; selectedPlace?: IPlace | null; + className?: string; } -export default function RecentSearches({ searchType, onSelect, selectedPlace }: RecentSearchesProps) { +export default function RecentSearches({ searchType, onSelect, selectedPlace, className }: RecentSearchesProps) { const recentSearches = getRecentSearchesByType(searchType); if (recentSearches.length === 0) { @@ -32,7 +32,7 @@ export default function RecentSearches({ searchType, onSelect, selectedPlace }: }; return ( -
{search.name}
+{search.name}