diff --git a/web/packages/shared/apps/types.ts b/web/packages/shared/apps/types.ts index 6c6e4fe1a..cde24788d 100644 --- a/web/packages/shared/apps/types.ts +++ b/web/packages/shared/apps/types.ts @@ -1,14 +1,9 @@ +import type { BaseAppContextT } from "@/next/types/app"; import { TwoFactorType } from "@ente/accounts/constants/twofactor"; -import type { DialogBoxAttributesV2 } from "@ente/shared/components/DialogBoxV2/types"; import { APPS } from "./constants"; export interface PageProps { - appContext: { - showNavBar: (show: boolean) => void; - isMobile: boolean; - setDialogBoxAttributesV2: (attrs: DialogBoxAttributesV2) => void; - logout: () => void; - }; + appContext: BaseAppContextT; appName: APPS; twoFactorType?: TwoFactorType; }