From eca572ef70e1c1139f9d2484d17d249b613941bc Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Fri, 27 Dec 2024 18:48:05 +0530 Subject: [PATCH] refine --- src/UserSearchModal.js | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/UserSearchModal.js b/src/UserSearchModal.js index da6b29d..5fb9626 100644 --- a/src/UserSearchModal.js +++ b/src/UserSearchModal.js @@ -9,17 +9,23 @@ import UserSearchView from './UserSearchView'; import css from './UserSearch.css'; -const UserSearchModal = (props, modalRef) => { +const UserSearchModal = ( + ( + { + stripes, + selectUsers, + selectUser, + closeCB, + onCloseModal, + openWhen, + restoreFocus = true, + initialSelectedUsers, + tenantId, + }, + modalRef + ) => { const { - stripes, - selectUsers, - selectUser, - closeCB, - onCloseModal, - openWhen, - restoreFocus = true, - initialSelectedUsers, - tenantId, + } = props; const [error, setError] = useState(null); const [callbackTrigger, setCallbackTrigger] = useState(false);