Skip to content

Commit

Permalink
fix seed quiz crash (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 authored Jul 25, 2023
1 parent a8c709e commit fe1a9dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
needs: [build]
env:
DISPLAY: :0
VITEST_SEGFAULT_RETRY: 3
VITEST_SEGFAULT_RETRY: 4
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/testSetup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ export function SeedVerifyQuiz({
// Validate
const seedWords = seed.split(' ');
if (
seedWords[3] === selectedWords[0].word &&
seedWords[3] === selectedWords[0]?.word &&
selectedWords[0].index === 3 &&
seedWords[7] === selectedWords[1].word &&
seedWords[7] === selectedWords[1]?.word &&
selectedWords[1].index === 7 &&
seedWords[11] === selectedWords[2].word &&
seedWords[11] === selectedWords[2]?.word &&
selectedWords[2].index === 11
) {
setValidated(true);
Expand Down

0 comments on commit fe1a9dc

Please sign in to comment.