Skip to content

Commit

Permalink
update: Wed 14 Aug 2024 20:42:23 CEST
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Aug 14, 2024
1 parent 50a4522 commit 603fb45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/BoardScorePage/BoardScorePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export default function BoardScorePage({
};

useEffect(() => {
setInitialAttributes(definition, isDarkModeEnabled);
setTimeout(() => {
setInitialAttributes(definition, isDarkModeEnabled);
}, 10);
}, [definition, isDarkModeEnabled]);

const date = new Date().toLocaleDateString();
Expand Down

0 comments on commit 603fb45

Please sign in to comment.