Skip to content

Commit

Permalink
feat: remove custom motion props for earned and not-earned tags in re…
Browse files Browse the repository at this point in the history
…wards display
  • Loading branch information
mohandast52 committed Dec 30, 2024
1 parent 22137f2 commit 294d376
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ const DisplayRewards = () => {
return (
<AnimatePresence>
{isEligibleForRewards ? (
<motion.div key="earned" custom="up" {...commonMotionProps}>
<motion.div key="earned" {...commonMotionProps}>
<Tag color="success">Earned</Tag>
</motion.div>
) : (
<motion.div key="not-earned" custom="down" {...commonMotionProps}>
<motion.div key="not-earned" {...commonMotionProps}>
<Tag color="processing">Not yet earned</Tag>
</motion.div>
)}
Expand Down

0 comments on commit 294d376

Please sign in to comment.