fix(multi): add missing timer dependency to navigate callback
This commit is contained in:
+1
-2
@@ -272,9 +272,8 @@ export function useMultiGame() {
|
|||||||
} catch {
|
} catch {
|
||||||
/* on continue localement */
|
/* on continue localement */
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
||||||
},
|
},
|
||||||
[room, playerId],
|
[room, playerId, timer],
|
||||||
);
|
);
|
||||||
|
|
||||||
// Room actions
|
// Room actions
|
||||||
|
|||||||
Reference in New Issue
Block a user