Skip to content

Commit

Permalink
fix: navigate to home on back press quiz (#11443)
Browse files Browse the repository at this point in the history
  • Loading branch information
MounirDhahri authored and olerichter00 committed Jan 27, 2025
1 parent 5f06730 commit 946ad7c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/Scenes/HomeView/HomeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,7 @@ const HomeViewScreenComponent: React.FC = () => {
if (artQuizState === "incomplete" && isNavigationReady) {
// Wait for react-navigation to start drawing the screen before navigating to ArtQuiz
requestAnimationFrame(() => {
navigate("/art-quiz", {
replaceActiveScreen: true,
})
navigate("/art-quiz")
})
return
}
Expand Down

0 comments on commit 946ad7c

Please sign in to comment.