diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-16 14:37:08 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-16 14:37:08 +0200 |
| commit | 8bc26539ebe44d6ff0d74d86ef316934c7f18faf (patch) | |
| tree | aab9487ca4a44a5d9f12b3b2b6718bc28d01a303 /apps/web/src/app/(auth) | |
| parent | 527d5888974f64abc33dfd7af4ec4dc7d2eb293c (diff) | |
| download | opencut-8bc26539ebe44d6ff0d74d86ef316934c7f18faf.tar.gz | |
cleanup (this doesn't work)
Diffstat (limited to 'apps/web/src/app/(auth)')
| -rw-r--r-- | apps/web/src/app/(auth)/login/page.tsx | 12 | ||||
| -rw-r--r-- | apps/web/src/app/(auth)/signup/page.tsx | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/apps/web/src/app/(auth)/login/page.tsx b/apps/web/src/app/(auth)/login/page.tsx index 6b1f8c83..f28cd191 100644 --- a/apps/web/src/app/(auth)/login/page.tsx +++ b/apps/web/src/app/(auth)/login/page.tsx @@ -15,7 +15,7 @@ import { Label } from "@/components/ui/label"; import { Separator } from "@/components/ui/separator"; import Link from "next/link"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; -import { ChevronLeft, Loader2 } from "lucide-react"; +import { ArrowLeft, Loader2 } from "lucide-react"; import { GoogleIcon } from "@/components/icons"; import { useLogin } from "@/hooks/auth/useLogin"; @@ -41,7 +41,7 @@ const LoginPage = () => { onClick={() => router.back()} className="absolute top-6 left-6" > - <ChevronLeft className="h-5 w-5" /> Back + <ArrowLeft className="h-5 w-5" /> Back </Button> <Card className="w-[400px] shadow-lg border-0"> <CardHeader className="text-center pb-4"> @@ -119,7 +119,11 @@ const LoginPage = () => { className="w-full h-11" size="lg" > - {isEmailLoading ? <Loader2 className="animate-spin" /> : "Sign in"} + {isEmailLoading ? ( + <Loader2 className="animate-spin" /> + ) : ( + "Sign in" + )} </Button> </div> </div> @@ -137,6 +141,6 @@ const LoginPage = () => { </Card> </div> ); -} +}; export default memo(LoginPage); diff --git a/apps/web/src/app/(auth)/signup/page.tsx b/apps/web/src/app/(auth)/signup/page.tsx index a5bc3174..c3a0f899 100644 --- a/apps/web/src/app/(auth)/signup/page.tsx +++ b/apps/web/src/app/(auth)/signup/page.tsx @@ -15,7 +15,7 @@ import { Label } from "@/components/ui/label"; import { Separator } from "@/components/ui/separator"; import Link from "next/link"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; -import { ChevronLeft, Loader2 } from "lucide-react"; +import { ArrowLeft, Loader2 } from "lucide-react"; import { GoogleIcon } from "@/components/icons"; import { useSignUp } from "@/hooks/auth/useSignUp"; @@ -43,7 +43,7 @@ const SignUpPage = () => { onClick={() => router.back()} className="absolute top-6 left-6" > - <ChevronLeft className="h-5 w-5" /> Back + <ArrowLeft className="h-5 w-5" /> Back </Button> <Card className="w-[400px] shadow-lg border-0"> <CardHeader className="text-center pb-4"> @@ -157,6 +157,6 @@ const SignUpPage = () => { </Card> </div> ); -} +}; export default memo(SignUpPage); |
