handle limit page dashboard & change header profile user & get data from api in page clinics & clinic item and doctor item
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
||||
import Cookies from "js-cookie";
|
||||
|
||||
const removeToken = () => Cookies.remove("token", { path: "/" });
|
||||
const removeToken = () => {
|
||||
Cookies.remove("access_token", { path: "/" });
|
||||
Cookies.remove("refresh_token", { path: "/" });
|
||||
};
|
||||
|
||||
export { removeToken };
|
||||
|
||||
Reference in New Issue
Block a user