Fix paths
This commit is contained in:
@@ -20,7 +20,6 @@ import {
|
||||
} from "@/new/photos/services/collection";
|
||||
import type { CollectionSummaries } from "@/new/photos/services/collection/ui";
|
||||
import { isInternalUser } from "@/new/photos/services/settings";
|
||||
import { syncUserDetails } from "@/new/photos/services/user";
|
||||
import {
|
||||
familyAdminEmail,
|
||||
hasExceededStorageQuota,
|
||||
@@ -34,6 +33,7 @@ import {
|
||||
isSubscriptionStripe,
|
||||
leaveFamily,
|
||||
redirectToCustomerPortal,
|
||||
syncUserDetails,
|
||||
userDetailsAddOnBonuses,
|
||||
type UserDetails,
|
||||
} from "@/new/photos/services/user-details";
|
||||
|
||||
@@ -49,10 +49,8 @@ import type { SearchOption } from "@/new/photos/services/search/types";
|
||||
import { initSettings } from "@/new/photos/services/settings";
|
||||
import {
|
||||
initUserDetailsOrTriggerSync,
|
||||
userDetailsSnapshot,
|
||||
} from "@/new/photos/services/user";
|
||||
import {
|
||||
redirectToCustomerPortal,
|
||||
userDetailsSnapshot,
|
||||
verifyStripeSubscription,
|
||||
} from "@/new/photos/services/user-details";
|
||||
import { useAppContext } from "@/new/photos/types/context";
|
||||
|
||||
@@ -8,7 +8,7 @@ import DownloadManager from "@/new/photos/services/download";
|
||||
import { logoutML, terminateMLWorker } from "@/new/photos/services/ml";
|
||||
import { logoutSearch } from "@/new/photos/services/search";
|
||||
import { logoutSettings } from "@/new/photos/services/settings";
|
||||
import { logoutUserDetails } from "@/new/photos/services/user";
|
||||
import { logoutUserDetails } from "@/new/photos/services/user-details";
|
||||
import exportService from "./export";
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
SidebarDrawerTitlebar,
|
||||
type NestedSidebarDrawerVisibilityProps,
|
||||
} from "@/base/components/mui/SidebarDrawer";
|
||||
import { disable2FA, get2FAStatus } from "@/new/photos/services/user";
|
||||
import { disable2FA, get2FAStatus } from "@/new/photos/services/user-details";
|
||||
import { useAppContext } from "@/new/photos/types/context";
|
||||
import { EnteMenuItem } from "@ente/shared/components/Menu/EnteMenuItem";
|
||||
import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";
|
||||
|
||||
@@ -6,7 +6,10 @@ import {
|
||||
peopleStateSubscribe,
|
||||
} from "../../services/ml";
|
||||
import { settingsSnapshot, settingsSubscribe } from "../../services/settings";
|
||||
import { userDetailsSnapshot, userDetailsSubscribe } from "../../services/user";
|
||||
import {
|
||||
userDetailsSnapshot,
|
||||
userDetailsSubscribe,
|
||||
} from "../../services/user-details";
|
||||
|
||||
/**
|
||||
* A convenience hook that returns {@link settingsSnapshot}, and also
|
||||
|
||||
Reference in New Issue
Block a user