File tree 2 files changed +6
-4
lines changed
app/(authenticated)/users/[id]/buttons
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ export default function ValidateSpinButton({
47
47
disabled = { ! isEligible }
48
48
onClick = { validateSpinWheel }
49
49
>
50
- < FerrisWheel size = { 16 } />
51
- Validate Spin the Wheel ({ spinWheelData ?. signatures . length ?? 0 } /
52
- { SPIN_WHEEL_MAXIMUM } )
50
+ < FerrisWheel size = { 16 } /> (
51
+ { spinWheelData ?. redeemed
52
+ ? "Already redeemed"
53
+ : `Validate Spin the Wheel ${ spinWheelData ?. signatures . length ?? 0 } / ${ SPIN_WHEEL_MAXIMUM } ` }
54
+ )
53
55
</ button >
54
56
) ;
55
57
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default function AchievementTile({
18
18
return (
19
19
< >
20
20
< div
21
- className = { `size-30 rounded-full shadow-md cursor-pointer ${ achieved ? "bg-white" : "bg-gray-200 grayscale opacity-25" } ` }
21
+ className = { `size-20 rounded-full shadow-md cursor-pointer ${ achieved ? "bg-white" : "bg-gray-200 grayscale opacity-25" } ` }
22
22
onClick = { ( ) => setIsOpen ( true ) }
23
23
>
24
24
< Image
You can’t perform that action at this time.
0 commit comments