Skip to content

Commit c3342b3

Browse files
committed
Prevents button flashing after hidden
1 parent 4123861 commit c3342b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/components/app/rewards/RewardsPointsBalance.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,5 +186,5 @@ export const RewardsPointsBalance = () => {
186186
);
187187
}
188188

189-
return <Skeleton width="100px" />;
189+
return rewardsBadgeHidden ? null : <Skeleton width="100px" />;
190190
};

0 commit comments

Comments
 (0)