mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-19 20:56:52 +00:00
fix: remove unused imports from authentication pages for cleaner code
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m47s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m47s
This commit is contained in:
parent
a4ffb1e34a
commit
1ae529c758
@ -1,5 +1,4 @@
|
|||||||
import LoginForm from "@/components/auth/login-form";
|
import LoginForm from "@/components/auth/login-form";
|
||||||
import Image from "next/image";
|
|
||||||
|
|
||||||
export default async function LoginPage() {
|
export default async function LoginPage() {
|
||||||
return <LoginForm />;
|
return <LoginForm />;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import SignUpForm from "@/components/auth/signup-form";
|
import SignUpForm from "@/components/auth/signup-form";
|
||||||
import Image from "next/image";
|
|
||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
export default async function SignupPage({
|
export default async function SignupPage({
|
||||||
|
@ -2,7 +2,6 @@ import VerifyRegistrationOTPForm from "@/components/auth/verify-registration-otp
|
|||||||
import ClientErrorMessage from "@/components/client-error-message";
|
import ClientErrorMessage from "@/components/client-error-message";
|
||||||
import { checkTempIdOrPhone } from "@/queries/authentication";
|
import { checkTempIdOrPhone } from "@/queries/authentication";
|
||||||
import { tryCatch } from "@/utils/tryCatch";
|
import { tryCatch } from "@/utils/tryCatch";
|
||||||
import Image from "next/image";
|
|
||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
export default async function VerifyRegistrationOTP({
|
export default async function VerifyRegistrationOTP({
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
import VerifyOTPForm from "@/components/auth/verify-otp-form";
|
import VerifyOTPForm from "@/components/auth/verify-otp-form";
|
||||||
import Image from "next/image";
|
|
||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
import React from "react";
|
|
||||||
|
|
||||||
export default async function VerifyOTP({
|
export default async function VerifyOTP({
|
||||||
searchParams,
|
searchParams,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user