feat(games): fetch games from backend
This commit is contained in:
+2
-2
@@ -8,8 +8,8 @@ import { GameIcon } from "@/lib/game-icons"
|
||||
import { ArrowRight, Search, ShoppingBag, Star } from "lucide-react"
|
||||
import Link from "next/link"
|
||||
|
||||
export default function HomePage() {
|
||||
const games = listGames()
|
||||
export default async function HomePage() {
|
||||
const games = await listGames()
|
||||
const players = listPlayers()
|
||||
const shops = listShops()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user