Skip to content

Commit

Permalink
fix: wrong operator in timer
Browse files Browse the repository at this point in the history
  • Loading branch information
rsproule committed Jan 5, 2024
1 parent 18c6dd5 commit d209cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/tankGame/Timer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function Timer({ address }: { address: `0x${string}` }) {
<br />
Current Epoch: {currentEpoch.data?.toString()}
<br />
{currentGameEpoch ?? currentGameEpoch.data == BigInt(0) ?? (
{(currentGameEpoch && currentGameEpoch.data) == BigInt(0) ?? (
<>
Time till next epoch:
{currentEpoch.data &&
Expand Down

0 comments on commit d209cf0

Please sign in to comment.