Invalid or missing player ID
+diff --git a/src/app/page.tsx b/src/app/page.tsx index 85d169c..573e3e6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -53,12 +53,23 @@ export default function Home() { setInterval(updateRank, 1000 * 60 * 1); // update every minute }, [mounted, updateRank]); - /** - * {!playerId &&
Invalid player ID
} - {!rank &&Invalid rank
} - {!ppDiff &&Calculating...
} - */ - if (!playerId || !rank || !ppDiff) { + if (!playerId) { + return ( +Invalid or missing player ID
+Invalid or missing rank
+Calculating...