diff --git a/src/app/(internal)/(auth)/auth/page.tsx b/src/app/(internal)/(auth)/auth/page.tsx
index 6ce6591..4e92db4 100644
--- a/src/app/(internal)/(auth)/auth/page.tsx
+++ b/src/app/(internal)/(auth)/auth/page.tsx
@@ -9,7 +9,7 @@ export const metadata: Metadata = {
export default function page() {
return (
-
+
);
diff --git a/src/components/pages/auth/AuthenticationModal.tsx b/src/components/pages/auth/AuthenticationModal.tsx
index 8384576..3bcd911 100644
--- a/src/components/pages/auth/AuthenticationModal.tsx
+++ b/src/components/pages/auth/AuthenticationModal.tsx
@@ -42,20 +42,21 @@ export default function AuthenticationModal() {
variant: "destructive",
});
throw new Error(error);
+ }
+
+ toast({
+ title: "Success",
+ description: "Signed in successfully",
+ variant: "success",
+ });
+ if (redirect) {
+ router.push(redirect);
} else {
- toast({
- title: "Success",
- description: "Signed in successfully",
- variant: "success",
- });
- if (redirect) {
- router.push(redirect);
- } else {
- router.push("/");
- }
+ router.push("/");
}
},
});
+ // biome-ignore lint/suspicious/noExplicitAny:
} catch (error: any) {
toast({
title: "Error",
@@ -66,11 +67,11 @@ export default function AuthenticationModal() {
};
return (
-
+
-
diff --git a/src/components/pages/auth/DesktopAuthModal.tsx b/src/components/pages/auth/DesktopAuthModal.tsx
index 5e3672a..066f8a3 100644
--- a/src/components/pages/auth/DesktopAuthModal.tsx
+++ b/src/components/pages/auth/DesktopAuthModal.tsx
@@ -33,8 +33,8 @@ export function DesktopAuthModal({ sdk, connect }: Props) {
}}
className="relative"
>
-
-
+
+
{/* Right Panel */}
-
+
{/* Top Panel */}