diff --git a/client/src/lib/game.ts b/client/src/lib/game.ts index c5dcd46..8d4e737 100644 --- a/client/src/lib/game.ts +++ b/client/src/lib/game.ts @@ -56,6 +56,7 @@ export const getArchivedGame = async ({ id, userid }: { id?: number; userid?: nu url += `userid=${userid}`; } try { + // TODO: handle caching more efficiently const res = await fetch(url, { next: { revalidate: 20 } });