Skip to content

Commit

Permalink
Develop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Nov 14, 2023
1 parent 322ff79 commit a8f3819
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/[user]/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
import CgsDeepLink from "@/components/cgsDeepLink";
import { getAllGames, getGame } from "@/lib/firebase/firestore";
import { getGame } from "@/lib/firebase/firestore";
import Link from "next/link";
import { notFound } from "next/navigation";

export async function generateStaticParams() {
const allGames = await getAllGames();
return allGames.map((game) => ({
user: game.user,
slug: game.slug,
}));
}

export default async function Page({
params,
}: {
Expand Down

0 comments on commit a8f3819

Please sign in to comment.