Skip to content

Commit

Permalink
Fixed the balance div error when !address
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimIjai committed Oct 29, 2023
1 parent 1e52060 commit 605c9bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/components/Swap/SwapInputBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const SwapInputBox: React.FC<Props> = ({ isInput, token, value, setValue }) => {
disabled={!isInput}
/>
</div>
<div className="text-[13px] font-[485] text-[#9b9b9b] flex items-center gap-2">
{address && <div className="text-[13px] font-[485] text-[#9b9b9b] flex items-center gap-2">
<span>Balance:</span> <GetBalances address={account} token={token} />
</div>
</div>}
</div>
);
};
Expand Down

0 comments on commit 605c9bf

Please sign in to comment.