We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4de4f commit 88b77c6Copy full SHA for 88b77c6
1 file changed
src/client/pages/lobby/info-panel/index.tsx
@@ -90,6 +90,8 @@ export const InfoPanel: React.FC<Props> = ({
90
};
91
}, [step, current && current.slot, players.length]);
92
93
+ console.log({ step });
94
+
95
return (
96
<Container>
97
<Block>
@@ -109,7 +111,7 @@ export const InfoPanel: React.FC<Props> = ({
109
111
</Block.Value>
110
112
</Block>
113
- {step !== undefined && (
114
+ {Number.isFinite(step) && (
115
116
<Block.Label>Step</Block.Label>
117
<Block.Value>
0 commit comments