Skip to content

Commit 00b0950

Browse files
style: fix coding standard
1 parent eef2b5f commit 00b0950

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/user/src/components/Login/LoginWrapper.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ import { Message } from "@prefabs.tech/react-ui";
33
import { FC, useState } from "react";
44
import { toast } from "react-toastify";
55

6+
import { DEFAULT_PATHS } from "@/constants";
7+
import { login } from "@/supertokens";
8+
import { LinkType } from "@/types/types";
9+
610
import { LoginForm } from "./LoginForm";
711
import { useConfig, useUser } from "../../hooks";
812
import { verifySessionRoles } from "../../supertokens/helpers";
913
import { AuthLinks } from "../AuthLinks";
1014

1115
import type { LoginCredentials, SignInUpPromise } from "../../types";
1216

13-
import { DEFAULT_PATHS } from "@/constants";
14-
import { login } from "@/supertokens";
15-
import { LinkType } from "@/types/types";
16-
1717
interface IProperties {
1818
handleSubmit?: (credential: LoginCredentials) => void;
1919
onLoginFailed?: (error: Error) => void;

packages/user/src/views/ForgotPassword.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { useState } from "react";
44
import { useSearchParams } from "react-router-dom";
55
import { toast } from "react-toastify";
66

7-
import { ForgotPasswordForm } from "../components/ForgotPasswordForm";
8-
97
import { AuthLinks } from "@/components/AuthLinks";
108
import { DEFAULT_PATHS } from "@/constants";
119
import { useConfig } from "@/hooks";
1210
import { forgotPassword } from "@/supertokens";
1311
import { LinkType } from "@/types/types";
1412

13+
import { ForgotPasswordForm } from "../components/ForgotPasswordForm";
14+
1515
export const ForgotPassword = ({ centered = true }: { centered?: boolean }) => {
1616
const { t } = useTranslation("user");
1717
const [loading, setLoading] = useState<boolean>(false);

packages/user/src/views/ResetPassword.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import { useState } from "react";
44
import { useNavigate } from "react-router-dom";
55
import { toast } from "react-toastify";
66

7-
import { useConfig } from "../hooks";
8-
97
import { ResetPasswordForm } from "@/components";
108
import { DEFAULT_PATHS } from "@/constants";
119
import { resetPassword } from "@/supertokens";
1210

11+
import { useConfig } from "../hooks";
12+
1313
export const ResetPassword = ({ centered = true }: { centered?: boolean }) => {
1414
const { t } = useTranslation("user");
1515
const config = useConfig();

0 commit comments

Comments
 (0)