From 4bad1c3b24b911f47ebbf36e4b18ee0ac4c6d3d8 Mon Sep 17 00:00:00 2001 From: Wang Haoyang Date: Fri, 1 Nov 2024 05:53:27 +0800 Subject: [PATCH] Fix more eslint errors --- frontend/app/(authenticated)/verify-email/page.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/app/(authenticated)/verify-email/page.tsx b/frontend/app/(authenticated)/verify-email/page.tsx index 6183f5c2..d30ebaf5 100644 --- a/frontend/app/(authenticated)/verify-email/page.tsx +++ b/frontend/app/(authenticated)/verify-email/page.tsx @@ -16,12 +16,12 @@ import { } from "@/components/ui/card"; import { LoadingSpinner } from "@/components/ui/loading-spinner"; import { useUserStore } from "@/store/user/user-store-provider"; +import { UNVERIFIED_TIER_ID } from "@/types/billing"; -export const UNVERIFIED_TIER_ID = 4; export const VERIFY_SUCCESS_DELAY = 1; export const VERIFY_ERROR_DELAY = 5; -export default function VerifyEmail() { +export const VerifyEmail = () => { const user = useUserStore((store) => store.user); const router = useRouter(); const [isLoading, setIsLoading] = useState(true); @@ -162,4 +162,6 @@ export default function VerifyEmail() { ); -} +}; + +export default VerifyEmail;