@@ -118,7 +104,13 @@ const Sidebar = () => {
nikuu
-
+ {
+ localStorage.removeItem("token");
+ navigate("/login");
+ }}
+ />
diff --git a/frontend/src/components/molecules/TextField.tsx b/frontend/src/components/molecules/TextField.tsx
index 2535830..bd15c90 100644
--- a/frontend/src/components/molecules/TextField.tsx
+++ b/frontend/src/components/molecules/TextField.tsx
@@ -13,6 +13,8 @@ interface TextFieldProps {
size?: InputSize;
label?: string;
inputClassName?: string;
+ onChange?: React.FormEventHandler