Skip to content

Commit

Permalink
used utility function for handle alert component issue
Browse files Browse the repository at this point in the history
Signed-off-by: pranalidhanavade <[email protected]>
  • Loading branch information
pranalidhanavade committed Oct 9, 2024
1 parent 3b55ce8 commit f1f606b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/User/UserDashBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ const UserDashBoard = () => {


</div>
{/* <div className="cursor-pointer">
<div className="cursor-pointer">
{ecoMessage && ecoMessage.length > 0 &&
<AlertComponent
message={ecoMessage}
type={ecoMessage ? 'warning' : 'failure'}
Expand All @@ -483,8 +483,9 @@ const UserDashBoard = () => {
setError('');
}}
/>
}

</div> */}
</div>
{walletData && walletData.length > 0 ? (
<></>
) : (
Expand Down

0 comments on commit f1f606b

Please sign in to comment.