diff --git a/web/packages/accounts/components/Login.tsx b/web/packages/accounts/components/Login.tsx index 6ddbe1491..297aa28ec 100644 --- a/web/packages/accounts/components/Login.tsx +++ b/web/packages/accounts/components/Login.tsx @@ -1,4 +1,5 @@ import log from "@/next/log"; +import type { AppName } from "@/next/types/app"; import { appNameToAppNameOld } from "@ente/shared/apps/constants"; import FormPaperFooter from "@ente/shared/components/Form/FormPaper/Footer"; import FormPaperTitle from "@ente/shared/components/Form/FormPaper/Title"; @@ -10,7 +11,6 @@ import { LS_KEYS, setData } from "@ente/shared/storage/localStorage"; import { Input } from "@mui/material"; import { t } from "i18next"; import { useRouter } from "next/router"; -import type { AppName } from "packages/next/types/app"; import { getSRPAttributes } from "../api/srp"; import { sendOtt } from "../api/user"; import { PAGES } from "../constants/pages"; diff --git a/web/packages/accounts/components/SignUp.tsx b/web/packages/accounts/components/SignUp.tsx index 6c89eb8fb..044eaa966 100644 --- a/web/packages/accounts/components/SignUp.tsx +++ b/web/packages/accounts/components/SignUp.tsx @@ -1,4 +1,5 @@ import log from "@/next/log"; +import type { AppName } from "@/next/types/app"; import { sendOtt } from "@ente/accounts/api/user"; import { PasswordStrengthHint } from "@ente/accounts/components/PasswordStrength"; import { PAGES } from "@ente/accounts/constants/pages"; @@ -38,7 +39,6 @@ import { import { Formik, type FormikHelpers } from "formik"; import { t } from "i18next"; import type { NextRouter } from "next/router"; -import type { AppName } from "packages/next/types/app"; import React, { useState } from "react"; import { Trans } from "react-i18next"; import * as Yup from "yup"; diff --git a/web/packages/accounts/pages/credentials.tsx b/web/packages/accounts/pages/credentials.tsx index 05d846dce..901432b45 100644 --- a/web/packages/accounts/pages/credentials.tsx +++ b/web/packages/accounts/pages/credentials.tsx @@ -295,7 +295,7 @@ const Page: React.FC = ({ appContext }) => { ); -} +}; export default Page; diff --git a/web/packages/shared/apps/constants.ts b/web/packages/shared/apps/constants.ts index f627db073..37e62c93a 100644 --- a/web/packages/shared/apps/constants.ts +++ b/web/packages/shared/apps/constants.ts @@ -1,4 +1,4 @@ -import type { AppName } from "packages/next/types/app"; +import type { AppName } from "@/next/types/app"; import { ACCOUNTS_PAGES, AUTH_PAGES, PHOTOS_PAGES } from "../constants/pages"; export enum APPS {