Skip to content

Commit

Permalink
fix: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmealy committed Sep 18, 2024
1 parent 834de25 commit ab76f26
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/welcome/WelcomeLogin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ const WelcomeLogin = () => {
setShouldRedirect(true)
}, [])

const onContinue = useCallback(() => {
redirect()
}, [redirect])

useEffect(() => {
if (!shouldRedirect) return
redirect()
Expand All @@ -57,7 +53,7 @@ const WelcomeLogin = () => {
</Typography>

<Track {...OVERVIEW_EVENTS.OPEN_ONBOARD} label={OVERVIEW_LABELS.welcome_page}>
<WalletLogin onLogin={onLogin} onContinue={onContinue} />
<WalletLogin onLogin={onLogin} onContinue={redirect} />
</Track>

{!wallet && (
Expand Down

0 comments on commit ab76f26

Please sign in to comment.