fix: render lucide game icons in homepage and search page
This commit is contained in:
@@ -41,6 +41,7 @@ import {
|
||||
SheetTrigger,
|
||||
} from "@/components/ui/sheet"
|
||||
import { Switch } from "@/components/ui/switch"
|
||||
import { GameIcon } from "@/lib/game-icons"
|
||||
import { mockGames, mockPlayers } from "@/lib/mock-data"
|
||||
import type { Player } from "@/lib/types"
|
||||
import { cn } from "@/lib/utils"
|
||||
@@ -209,7 +210,7 @@ function FilterSection({
|
||||
htmlFor={`game-${game.id}`}
|
||||
className="text-sm font-normal cursor-pointer flex items-center gap-2"
|
||||
>
|
||||
<span>{game.icon}</span>
|
||||
<GameIcon name={game.icon} className="h-4 w-4" />
|
||||
{game.name}
|
||||
</Label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user