diff --git a/backend/services/database.js b/backend/services/database.js index 057734c..d9e7167 100644 --- a/backend/services/database.js +++ b/backend/services/database.js @@ -139,4 +139,4 @@ export async function getAllUsers() { } catch (err) { return { result: err, success: false }; } -} \ No newline at end of file +} diff --git a/client/src/utils/functions.ts b/client/src/utils/functions.ts index 70a2300..8af4362 100644 --- a/client/src/utils/functions.ts +++ b/client/src/utils/functions.ts @@ -6,7 +6,7 @@ export const greeting = () => { export const logout = () => { Cookies.remove("name"); - Cookies.remove("token"); + Cookies.remove("token"); localStorage.removeItem("users"); window.location.reload(); -}; \ No newline at end of file +}; diff --git a/client/src/utils/useUsers.ts b/client/src/utils/useUsers.ts index f6006e0..4b04f30 100644 --- a/client/src/utils/useUsers.ts +++ b/client/src/utils/useUsers.ts @@ -26,4 +26,4 @@ export function useUsers(): User[] { }, []); return users; -} \ No newline at end of file +}