From 06b772be79e5f58fa6914b941ec4010f4ca1e306 Mon Sep 17 00:00:00 2001 From: Nathaniel Tampus Date: Sun, 2 Apr 2023 18:42:15 +0800 Subject: [PATCH] add todo reminder comment --- client/src/lib/game.ts | 1 + 1 file changed, 1 insertion(+) 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 } });