diff --git a/client/src/utils/functions.ts b/client/src/utils/functions.ts index a932be6..70a2300 100644 --- a/client/src/utils/functions.ts +++ b/client/src/utils/functions.ts @@ -6,5 +6,7 @@ export const greeting = () => { export const logout = () => { Cookies.remove("name"); + Cookies.remove("token"); + localStorage.removeItem("users"); window.location.reload(); -}; +}; \ No newline at end of file