Skip to content

Commit

Permalink
pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Dec 12, 2024
1 parent f23882e commit b8df024
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/ui/modules/social/PlayerId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export const PlayerId = ({
SettleRealmData,
Array.from(runQuery([HasValue(SettleRealmData, { owner_address: selectedPlayer })]))[0],
);
return realmSettleData ? formatTime((useUIStore.getState()?.nextBlockTimestamp ?? 0) - (realmSettleData?.timestamp ?? 0)) : undefined;
return realmSettleData
? formatTime((useUIStore.getState()?.nextBlockTimestamp ?? 0) - (realmSettleData?.timestamp ?? 0))
: undefined;
}, [selectedPlayer, playerEntityId]);

const playerStructures = useMemo(() => {
Expand Down

0 comments on commit b8df024

Please sign in to comment.