Skip to content

Commit

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

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

Expand Down

0 comments on commit 811dcce

Please sign in to comment.