diff --git a/src/components/modals/presets/list/list.tsx b/src/components/modals/presets/list/list.tsx
index 5d89c20..02d8bd4 100644
--- a/src/components/modals/presets/list/list.tsx
+++ b/src/components/modals/presets/list/list.tsx
@@ -1,5 +1,4 @@
import { FaPlay, FaRegTrashAlt } from 'react-icons/fa/index';
-import { motion, AnimatePresence } from 'framer-motion';
import styles from './list.module.css';
@@ -27,37 +26,29 @@ export function List({ close }: ListProps) {
You don't have any presets yet.
)}
-
- {presets.map(preset => (
- (
+
+ changeName(preset.id, e.target.value)}
+ />
+
+
+
+ ))}
);
}
diff --git a/src/components/toolbox/countdown-timer/timers/timer/timer.tsx b/src/components/toolbox/countdown-timer/timers/timer/timer.tsx
index eb49645..83dd722 100644
--- a/src/components/toolbox/countdown-timer/timers/timer/timer.tsx
+++ b/src/components/toolbox/countdown-timer/timers/timer/timer.tsx
@@ -5,7 +5,6 @@ import {
IoRefresh,
IoTrashOutline,
} from 'react-icons/io5/index';
-import { motion } from 'framer-motion';
import { ReverseTimer } from './reverse-timer';
@@ -139,20 +138,8 @@ export function Timer({ id }: TimerProps) {
};
}, [isRunning, tick, id, spent, total, left]);
- const variants = {
- enter: { opacity: 1 },
- exit: { opacity: 0 },
- initial: { opacity: 0 },
- };
-
return (
-
+
);
}
diff --git a/src/components/toolbox/countdown-timer/timers/timers.tsx b/src/components/toolbox/countdown-timer/timers/timers.tsx
index 2e6b8fb..daa35b7 100644
--- a/src/components/toolbox/countdown-timer/timers/timers.tsx
+++ b/src/components/toolbox/countdown-timer/timers/timers.tsx
@@ -1,5 +1,4 @@
import { useMemo } from 'react';
-import { AnimatePresence } from 'framer-motion';
import { Timer } from './timer';
import { Notice } from './notice';
@@ -31,11 +30,9 @@ export function Timers() {
)}
-
- {timers.map(timer => (
-
- ))}
-
+ {timers.map(timer => (
+
+ ))}