Skip to content

Commit

Permalink
fix: add initial answer state
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosfarah committed Mar 12, 2024
1 parent 8b77e31 commit 37a7fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/main/PlayerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const PlayerView = (): JSX.Element => {
const { data: appData } = hooks.useAppData();
const { mutate: postAppData } = mutations.usePostAppData();

const [answer, setAnswer] = useState<string>();
const [answer, setAnswer] = useState<string>('');
const [savedAnswer, setSavedAnswer] = useState<string>('');

// use effect to get required app data
Expand Down

0 comments on commit 37a7fae

Please sign in to comment.