diff --git a/src/components/buttons/unselect/unselect.tsx b/src/components/buttons/unselect/unselect.tsx index 6f8cf8a..0a2a37e 100644 --- a/src/components/buttons/unselect/unselect.tsx +++ b/src/components/buttons/unselect/unselect.tsx @@ -16,6 +16,7 @@ import { AnimatePresence, motion } from 'framer-motion'; import { useSoundStore } from '@/store'; import { cn } from '@/helpers/styles'; +import { fade, mix, slideX } from '@/lib/motion'; import styles from './unselect.module.css'; @@ -47,14 +48,17 @@ export function UnselectButton() { const hasHistory = useSoundStore(state => !!state.history); const unselectAll = useSoundStore(state => state.unselectAll); + const variants = mix(fade(), slideX(20)); + return ( <> {(!noSelected || hasHistory) && (