remove log

This commit is contained in:
hamid zarghami
2025-05-20 15:24:32 +03:30
parent 6ba1b19f05
commit 7f862c2ca5
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export const getRefreshToken = () => {
};
const isProduction = import.meta.env.MODE === "production";
const domain = isProduction ? ".danakcorp.com" : undefined;
const domain = isProduction ? ".danakcorp.com" : window.location.hostname;
export const setToken = (token: string) => {
Cookie.set(import.meta.env.VITE_TOKEN_NAME, token, { domain });
@@ -65,8 +65,6 @@ const RegisterStep2: FC = () => {
},
})
console.log(formik.errors);
return (
<Fragment>