switch to a new domain name

This commit is contained in:
Spectralitree
2021-07-31 13:03:29 +02:00
parent 2aafdec40b
commit 86b57dcbd0
13 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ const { register, handleSubmit } = useForm();
localStorage.setItem("user", JSON.stringify(data));
setIsSubmit(true);
setIsLoading(false);
history.push("/pk-webs/dash");
history.push("/dash");
})
// remove the token and user data from localstorage if there's an error, also set the token as invalid
// TODO: an error doesn't mean the token is invalid, change this depending on what error is thrown
@@ -122,7 +122,7 @@ const { register, handleSubmit } = useForm();
</p>
<BS.Button
type="primary"
onClick={() => history.push("/pk-webs/dash")}
onClick={() => history.push("/dash")}
>
Continue to dash
</BS.Button>