Remove @typescript-eslint/no-empty-function rule exception

[MAILPOET-3201]
This commit is contained in:
Pavel Dohnal
2020-11-16 10:23:24 +01:00
committed by Veljko V
parent 1853a3883e
commit e8eb950c1b
9 changed files with 21 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ import ReactDOM from 'react-dom';
import SetFromAddressModal from 'common/set_from_address_modal';
import { GlobalContext, useGlobalContextValue } from 'context/index.jsx';
import Notices from 'notices/notices.jsx';
import { noop } from 'lodash';
type Props = {
onRequestClose?: () => void;
@@ -36,7 +37,7 @@ const App = ({ onRequestClose }: Props) => {
};
App.defaultProps = {
onRequestClose: () => {},
onRequestClose: noop,
};
// nothing is actually rendered to the container because the <Modal> component uses