diff --git a/src/components/restaurant/RestaurantCard.tsx b/src/components/restaurant/RestaurantCard.tsx index f6035c4..7662162 100644 --- a/src/components/restaurant/RestaurantCard.tsx +++ b/src/components/restaurant/RestaurantCard.tsx @@ -1,5 +1,4 @@ import { categoryLabel, type RestaurantSummary } from "@/types/store"; -import { Star } from "lucide-react"; type Props = { restaurant: RestaurantSummary; @@ -22,11 +21,6 @@ export default function RestaurantCard({ restaurant, onClick }: Props) { {categoryLabel[restaurant.category]} • {restaurant.address}

- - - - {restaurant.rating.toFixed(1)} - ); diff --git a/src/components/restaurant/RestaurantCardSkeleton.tsx b/src/components/restaurant/RestaurantCardSkeleton.tsx new file mode 100644 index 0000000..770f0aa --- /dev/null +++ b/src/components/restaurant/RestaurantCardSkeleton.tsx @@ -0,0 +1,12 @@ +export default function RestaurantCardSkeleton() { + return ( +