Skip to content

Commit 0c5588e

Browse files
committed
added animation for subscribe button
1 parent bb9df4a commit 0c5588e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/components/Donation.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
22
import { donationData } from '@/constants/Donation';
33
import { Link } from 'react-router-dom';
44
import { volunteerImages } from '@/constants/Volunteer';
5-
import { hover, motion } from 'framer-motion';
5+
import { motion } from 'framer-motion';
66
import {
77
fadeIn,
88
slideInLeft,
@@ -13,7 +13,6 @@ import {
1313
floatingCircle,
1414
buttonAnimation,
1515
} from '@/styles/Animations';
16-
import { tap } from 'node:test/reporters';
1716

1817
const Donation: React.FC = () => {
1918
const handleClick = () => {

src/styles/Animations.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { hover, Variants } from 'framer-motion';
2-
import { tap } from 'node:test/reporters';
1+
import { Variants } from 'framer-motion';
32

43
export const fadeIn: Variants = {
54
hidden: { opacity: 0 },

0 commit comments

Comments
 (0)