Skip to content

Commit

Permalink
Test vibrate
Browse files Browse the repository at this point in the history
  • Loading branch information
uigywnkiub committed Dec 5, 2023
1 parent d4049c0 commit c725525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function App() {
};
const { id: idMatch } = newTodo;

navigator.vibrate([100, 500]);
dispatch(addTodo(newTodo));
setTodos([...todos, newTodo]);
setLocalStorTodos([...todos, newTodo]);
Expand Down
3 changes: 1 addition & 2 deletions src/components/NotifPopup/NotifPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ function NotifPopup({ text, warning = false, blocked = false, success = false })
}}
>
<motion.div
initial={{ opacity: 0, scale: 1.3, y: -80 }}
initial={{ opacity: 0, scale: 1.3, y: -40 }}
animate={{
opacity: 1,
scale: 1,
duration: 0.3,
y: 0,
}}
exit={{ opacity: 0 }}
Expand Down

0 comments on commit c725525

Please sign in to comment.