Skip to content

Commit

Permalink
fix: extyend deposit form visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pociej committed Apr 12, 2024
1 parent e9a21e9 commit 498a178
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/src/components/deposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ export const Deposit = ({
<CreateDepositForm
isVisible={user.hasDepositDataLoaded() && !user.hasDeposit()}
/>
<ExtendDepositForm
isVisible={isExtendFormVisible}
hide={hideExtendForm}
/>
{user.hasDeposit() && (
<ExtendDepositForm
isVisible={isExtendFormVisible}
hide={hideExtendForm}
/>
)}
</>
)}

Expand Down

0 comments on commit 498a178

Please sign in to comment.