Skip to content

Commit

Permalink
make sure saved custom state has required field
Browse files Browse the repository at this point in the history
  • Loading branch information
skedwards88 committed Aug 26, 2024
1 parent 7f6b558 commit f964841
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/logic/customInit.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ export function customInit(useSaved = true) {
: undefined;

if (savedState) {
return savedState;
return {
...savedState,
isCustomCreating: true,
};
}

const alphabet = [
Expand Down

0 comments on commit f964841

Please sign in to comment.