remove log
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ export const getRefreshToken = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const isProduction = import.meta.env.MODE === "production";
|
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) => {
|
export const setToken = (token: string) => {
|
||||||
Cookie.set(import.meta.env.VITE_TOKEN_NAME, token, { domain });
|
Cookie.set(import.meta.env.VITE_TOKEN_NAME, token, { domain });
|
||||||
|
|||||||
@@ -65,8 +65,6 @@ const RegisterStep2: FC = () => {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(formik.errors);
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
|
|||||||
Reference in New Issue
Block a user