Skip to content

Commit e54759c

Browse files
committed
added animation for subscribe button
1 parent 3a59935 commit e54759c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Donation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ const Donation: React.FC = () => {
161161
<motion.button
162162
className="px-6 py-2 bg-red-500 text-white font-bold rounded-r-full shadow-lg hover:bg-red-600 transition duration-300"
163163
variants={buttonAnimation}
164-
whileTap="tap"
165-
whileHover="hover"
164+
whileTap={'tap'}
165+
whileHover={'hover'}
166166
type="submit"
167167
>
168168
SUBSCRIBE

0 commit comments

Comments
 (0)