style: fix indentation

This commit is contained in:
SauceyRed 2025-05-28 22:38:54 +02:00
parent 6548f9329e
commit 7ad2b6f299
Signed by: sauceyred
GPG key ID: 270B096EF6E9A462

View file

@ -123,10 +123,10 @@ async function register(e: Event) {
e.preventDefault(); e.preventDefault();
console.log("Sending registration data"); console.log("Sending registration data");
try { try {
await auth.register(form.username, form.email, form.password); await auth.register(form.username, form.email, form.password);
return await navigateTo(query.redirect_to); return await navigateTo(query.redirect_to);
} catch (error) { } catch (error) {
console.error("Error registering:", error); console.error("Error registering:", error);
} }
//return navigateTo(redirectTo ? redirectTo as string : useAppConfig().baseURL as string); //return navigateTo(redirectTo ? redirectTo as string : useAppConfig().baseURL as string);
} }