Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Context

Manav Rathi4f31bd625d76
diff --git a/web/packages/shared/apps/types.ts b/web/packages/shared/apps/types.ts
index 6c6e4fe1a4..cde24788d8 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;
}