Skip to content

Commit

Permalink
refactor: ♻️ refactor revolver file
Browse files Browse the repository at this point in the history
  • Loading branch information
nutfdt committed May 27, 2024
1 parent d3ef223 commit 5fac425
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const getNextRouteAfterResult = ({ securingTutorial, confidenceLevel, typ
if (isCardDetected === false && isMeasuredGun === true) { return { name: 'MissingCard' } } else { return { name: 'IdentificationTypologyResult' } }
}

const hasSecuringOptions = TYPOLOGIES[typology]?.options_step_1 || TYPOLOGIES[typology]?.options || TYPOLOGIES[typology]?.text_steps
const hasSecuringOptions = TYPOLOGIES[typology]?.securingSteps
if (!hasSecuringOptions) {
return { name: 'SecuringAchievement' }
}
Expand Down

0 comments on commit 5fac425

Please sign in to comment.