Skip to content

Commit

Permalink
Lower claim amount opacity with button
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Oct 14, 2024
1 parent 5d3b704 commit 81ad680
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/app/stake/MyPositions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,10 @@ export const MyPositions = () => {
</Button>
<Badge
variant={collectError ? "destructive" : "iridescent"}
className="-mt-2 gap-2 border-2 border-black text-3xs"
className={cn(
"-mt-2 gap-2 border-2 border-black text-3xs",
collectData && "pointer-events-none opacity-70",
)}
>
{unclaimedRewards}
</Badge>
Expand Down

0 comments on commit 81ad680

Please sign in to comment.