Skip to content

Commit

Permalink
fix: loader
Browse files Browse the repository at this point in the history
  • Loading branch information
sasicodes committed Feb 27, 2024
1 parent 321c1e0 commit 6a9d484
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/web/src/components/Login/Signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const Signup: FC<Props> = ({ showLogin, onSuccess, setShowSignup }) => {
if (clickedButton === 'card') {
return handleBuy()
}

setCreating(true)
await handleWrongNetwork()

try {
Expand All @@ -234,7 +234,9 @@ const Signup: FC<Props> = ({ showLogin, onSuccess, setShowSignup }) => {
functionName: 'createProfileWithHandleUsingCredits',
value: parseEther(TAPE_SIGNUP_PRICE.toString())
})
} catch {}
} catch {
setCreating(false)
}
}

const balance = balanceData && parseFloat(formatUnits(balanceData.value, 18))
Expand Down

0 comments on commit 6a9d484

Please sign in to comment.