Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix lints

Manav Rathia2e93489f2a6
diff --git a/web/apps/accounts/.eslintrc.js b/web/apps/accounts/.eslintrc.js
index 7858067171..fc6d400d50 100644
--- a/web/apps/accounts/.eslintrc.js
+++ b/web/apps/accounts/.eslintrc.js
@@ -6,7 +6,6 @@ module.exports = {
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react-hooks/exhaustive-deps": "off",
- "@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-explicit-any": "off",
"react-refresh/only-export-components": "off",
diff --git a/web/apps/accounts/src/pages/_app.tsx b/web/apps/accounts/src/pages/_app.tsx
index 8f65540719..8d14ea7cd4 100644
--- a/web/apps/accounts/src/pages/_app.tsx
+++ b/web/apps/accounts/src/pages/_app.tsx
@@ -92,7 +92,7 @@ export default function App({ Component, pageProps }: AppProps) {
sx={{ zIndex: 1600 }}
open={dialogBoxV2View}
onClose={closeDialogBoxV2}
- attributes={dialogBoxAttributeV2 as any}
+ attributes={dialogBoxAttributeV2}
/>
<AppContext.Provider value={appContext}>
diff --git a/web/packages/shared/components/DialogBoxV2/types.ts b/web/packages/shared/components/DialogBoxV2/types.ts
index f2ac31f0b1..d7db388600 100644
--- a/web/packages/shared/components/DialogBoxV2/types.ts
+++ b/web/packages/shared/components/DialogBoxV2/types.ts
@@ -13,7 +13,7 @@ export interface DialogBoxAttributesV2 {
title?: React.ReactNode;
staticBackdrop?: boolean;
nonClosable?: boolean;
- content?: any;
+ content?: React.ReactNode;
close?: {
text?: string;
variant?: ButtonProps["color"];