Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
JollyGrin committed Sep 10, 2024
1 parent d54571c commit 6f62924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/organisms/GameBoard/Footer/Decks/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DecksTray = (props: GameStateActions) => {
onOpenChange: () => {
// when closing the modal, delay shuffling the deck briefly
// avoids briefly showing new deck order before modal closes
let wasOpen = preview;
const wasOpen = preview;
setPreview(undefined);
setTimeout(() => {
if (!!wasOpen) shuffleDeck(wasOpen);
Expand Down

0 comments on commit 6f62924

Please sign in to comment.