Fix lints

This commit is contained in:
Manav Rathi
2024-06-11 20:28:31 +05:30
parent 5150dc00e1
commit a2e93489f2
3 changed files with 2 additions and 3 deletions

View File

@@ -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",

View File

@@ -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}>

View File

@@ -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"];