From b357c7334f306973eb9068de6f07a021a8b9400e Mon Sep 17 00:00:00 2001 From: Alexis G Date: Fri, 22 Sep 2023 11:32:12 +0200 Subject: [PATCH] refactor(NestedSelectModal): Remove useless `open` prop The `open` prop having been passed to the `useCozyDialog` hook, there is no need to add it a second time --- react/NestedSelect/Modal.jsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/react/NestedSelect/Modal.jsx b/react/NestedSelect/Modal.jsx index e7d57e4f7f..d51f5bff4b 100644 --- a/react/NestedSelect/Modal.jsx +++ b/react/NestedSelect/Modal.jsx @@ -42,12 +42,7 @@ const NestedSelectDialogContent = ({ children }) => { const NestedSelectModal = props => { const { dialogProps } = useCozyDialog({ open: true }) return ( - +