Skip to content

Commit

Permalink
fix: asset list modal opens 1 click
Browse files Browse the repository at this point in the history
  • Loading branch information
chalabi2 committed Dec 4, 2024
1 parent ce4786e commit 21422b4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions components/bank/components/tokenList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,10 @@ export default function TokenList({ balances, isLoading }: TokenListProps) {
</div>
)}

{/* DenomInfoModal */}
{selectedDenom && (
<DenomInfoModal
denom={filteredBalances.find(b => b.denom === selectedDenom)?.metadata ?? null}
modalId="denom-info-modal"
/>
)}
<DenomInfoModal
denom={filteredBalances.find(b => b.denom === selectedDenom)?.metadata ?? null}
modalId="denom-info-modal"
/>
</div>
</div>
</div>
Expand Down

0 comments on commit 21422b4

Please sign in to comment.