From fe82b4e0ef835e6921575f1927174479bea7f777 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Tue, 17 Nov 2020 15:49:05 +0300 Subject: fix: clear eslint errors --- src/components/ModalScreen/ModalScreen.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/ModalScreen') diff --git a/src/components/ModalScreen/ModalScreen.tsx b/src/components/ModalScreen/ModalScreen.tsx index b71c2c8..3d0db34 100644 --- a/src/components/ModalScreen/ModalScreen.tsx +++ b/src/components/ModalScreen/ModalScreen.tsx @@ -42,7 +42,9 @@ const Transition = React.forwardRef(( ref: React.Ref ) => ); -const ModalScreen: React.FC = ({ title, actionIcon, handleAction, isActionDisabled, handleCloseModal, children }) => { +const ModalScreen: React.FC = ( + { title, actionIcon, handleAction, isActionDisabled, handleCloseModal, children } +) => { const [isOpen, setIsOpen] = useState(true); const classes = useStyles(); const theme = useTheme(); -- cgit v1.2.3