From c0f0b4bca8c6b06ac597e908ee0ef3399ca4d7c5 Mon Sep 17 00:00:00 2001 From: Gautam Anand Date: Sat, 11 Jan 2025 15:46:30 -0600 Subject: [PATCH] Disable friend button in navbar for specific game states --- components/ui/navbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/navbar.js b/components/ui/navbar.js index 27b867a..fa34198 100644 --- a/components/ui/navbar.js +++ b/components/ui/navbar.js @@ -50,7 +50,7 @@ export default function Navbar({ maintenance, joinCodePress, inCrazyGames, inCoo )}
- {session?.token?.secret && ( + {session?.token?.secret && !["getready","guess"].includes(multiplayerState?.gameData?.state) && (