Skip to content

Commit 83377dd

Browse files
style: fix coding standard
1 parent c9694f4 commit 83377dd

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/user/src/views/VerifyEmail.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import { AuthPage, Message } from "@dzangolab/react-ui";
33
import { useContext, useEffect, useState } from "react";
44
import { toast } from "react-toastify";
55

6-
import { UserContextType, useConfig, userContext } from "..";
7-
86
import { getMe } from "@/api/user";
97
import { EMAIL_VERIFICATION } from "@/constants";
108
import { verifyEmail } from "@/supertokens";
119

10+
import { UserContextType, useConfig, userContext } from "..";
11+
1212
export const VerifyEmail = ({ centered = true }: { centered?: boolean }) => {
1313
const [verifyEmailLoading, setVerifyEmailLoading] = useState<boolean>(true);
1414
const [status, setStatus] = useState<string | undefined>("");
@@ -30,7 +30,6 @@ export const VerifyEmail = ({ centered = true }: { centered?: boolean }) => {
3030

3131
if (user.email !== userInfo.data.email) {
3232
toast.success(t("emailVerification.toastMessages.updateSuccess"));
33-
3433
setIsEmailUpdated(true);
3534
} else {
3635
toast.success(t("emailVerification.toastMessages.success"));

0 commit comments

Comments
 (0)