Skip to content

Commit

Permalink
Focus input after submitting riddle
Browse files Browse the repository at this point in the history
  • Loading branch information
EasySouls authored and Isti01 committed Nov 7, 2024
1 parent 5e910d4 commit 2cf60cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/riddle/riddle.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const RiddlePage = () => {
duration: 5000,
isClosable: true
}) || null
solutionInput.current?.focus()
}
if (result.status === RiddleSubmissionStatus.SUBMITTER_BANNED) {
if (toastIdRef.current) {
Expand Down

0 comments on commit 2cf60cb

Please sign in to comment.