fix(multi): add missing timer dependency to navigate callback
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user