From 50d8814eb64024fcfe8feb6577b2acdb6b33b0b2 Mon Sep 17 00:00:00 2001 From: jessy-david-dev Date: Wed, 15 Apr 2026 19:33:00 +0200 Subject: [PATCH] fix(multi): add missing timer dependency to navigate callback --- lib/useMultiGame.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/useMultiGame.ts b/lib/useMultiGame.ts index 3872964..adf9d87 100644 --- a/lib/useMultiGame.ts +++ b/lib/useMultiGame.ts @@ -272,9 +272,8 @@ export function useMultiGame() { } catch { /* on continue localement */ } - // eslint-disable-next-line react-hooks/exhaustive-deps }, - [room, playerId], + [room, playerId, timer], ); // Room actions