aboutsummaryrefslogtreecommitdiff
path: root/src/components/ModalScreen
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123@gmail.com>2020-11-17 15:49:05 +0300
committerilyayudovin <ilyayudovin123@gmail.com>2020-11-17 15:49:05 +0300
commitfe82b4e0ef835e6921575f1927174479bea7f777 (patch)
tree5227a935584dbbdf68f8be8278a3fdeb7b300734 /src/components/ModalScreen
parent99b4e4aa53d3ade389fc270f9ba9b02904da93f6 (diff)
downloadwhich-ui-fe82b4e0ef835e6921575f1927174479bea7f777.tar.gz
fix: clear eslint errors
Diffstat (limited to 'src/components/ModalScreen')
-rw-r--r--src/components/ModalScreen/ModalScreen.tsx4
1 files changed, 3 insertions, 1 deletions
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<unknown>
) => <Slide direction="left" ref={ref} {...props} />);
-const ModalScreen: React.FC<PropTypes> = ({ title, actionIcon, handleAction, isActionDisabled, handleCloseModal, children }) => {
+const ModalScreen: React.FC<PropTypes> = (
+ { title, actionIcon, handleAction, isActionDisabled, handleCloseModal, children }
+) => {
const [isOpen, setIsOpen] = useState<boolean>(true);
const classes = useStyles();
const theme = useTheme();