From bc5a7aa7f3c7a4bba32d27cf78d94e337ed674cf Mon Sep 17 00:00:00 2001 From: Nazarii AlieKsieiev Date: Thu, 31 Oct 2024 03:55:30 +0200 Subject: [PATCH] Updates --- src/components/Notification/Notification.tsx | 11 +++++--- src/components/TodoFilter/TodoFilter.tsx | 4 +-- src/components/TodoForm/TodoForm.tsx | 4 +-- src/components/TodoItem/TodoItem.tsx | 9 ++++--- src/hook/useLocalStorage.ts | 27 -------------------- 5 files changed, 17 insertions(+), 38 deletions(-) delete mode 100644 src/hook/useLocalStorage.ts diff --git a/src/components/Notification/Notification.tsx b/src/components/Notification/Notification.tsx index f4792fd92..9562ad930 100644 --- a/src/components/Notification/Notification.tsx +++ b/src/components/Notification/Notification.tsx @@ -1,5 +1,5 @@ import React, { useContext, useMemo } from 'react'; -import cn from 'classNames'; +import classNames from 'classNames'; import { DispatchContext, StateContext } from '../../Store'; export const Notification: React.FC = () => { @@ -13,9 +13,12 @@ export const Notification: React.FC = () => { return (