diff --git a/src/components/buttons/play/play.tsx b/src/components/buttons/play/play.tsx index 05715aa..20960f7 100644 --- a/src/components/buttons/play/play.tsx +++ b/src/components/buttons/play/play.tsx @@ -1,6 +1,5 @@ import { useEffect } from 'react'; import { BiPause, BiPlay } from 'react-icons/bi/index'; -import { motion } from 'framer-motion'; import { useSoundStore } from '@/store'; import { useSnackbar } from '@/contexts/snackbar'; @@ -27,10 +26,9 @@ export function PlayButton() { }, [isPlaying, pause, noSelected]); return ( - {isPlaying ? ( @@ -48,6 +46,6 @@ export function PlayButton() { Play > )} - + ); } diff --git a/src/components/category/category.tsx b/src/components/category/category.tsx index a421a41..fcc6b53 100644 --- a/src/components/category/category.tsx +++ b/src/components/category/category.tsx @@ -1,5 +1,3 @@ -import { motion } from 'framer-motion'; - import { Sounds } from '@/components/sounds'; import styles from './category.module.css'; @@ -18,7 +16,7 @@ export function Category({ title, }: CategoryProps) { return ( - + {icon} @@ -27,6 +25,6 @@ export function Category({ {title} - + ); }