refactor: run formatter

This commit is contained in:
Elias Schneider
2024-10-15 20:12:09 +02:00
parent 522a041ca1
commit 1e96011793
5 changed files with 43 additions and 26 deletions

View File

@@ -31,7 +31,8 @@ const signUp = async (email: string, username: string, password: string) => {
const signOut = async () => {
const response = await api.post("/auth/signOut");
if (URL.canParse(response.data?.redirectURI)) window.location.href = response.data.redirectURI;
if (URL.canParse(response.data?.redirectURI))
window.location.href = response.data.redirectURI;
else window.location.reload();
};