Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmodghnaj committed Nov 4, 2023
1 parent 8097e1f commit 73ec268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const useRegister = () =>
export const useLogout = () =>
useMutation(["logout"], async () => {
const { data } = await api.post("/auth/logout");
Cookies.remove("refresh"); /// TODO::
return data;
});

Expand Down

0 comments on commit 73ec268

Please sign in to comment.