Skip to content

Commit

Permalink
Navigate to selected route
Browse files Browse the repository at this point in the history
  • Loading branch information
albertprz committed May 2, 2024
1 parent d6daad2 commit 8078bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Application.purs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ component = Hooks.component \_ _ -> Hooks.do
route /\ { navigate } <- useRouter'

useLifecycleEffect do
navigate SpreadsheetView
navigate route
subscriptionId <- subscribeWindowUnload
pure $ Just $ Hooks.unsubscribe subscriptionId

Expand Down

0 comments on commit 8078bbf

Please sign in to comment.