From 8f5d8397f9b5bdf431783d58f08bc23e1832a7fd Mon Sep 17 00:00:00 2001 From: wellCh4n Date: Thu, 15 Aug 2024 10:31:34 +0800 Subject: [PATCH] fix: can not input param value in tool test modal (#7281) --- .../edit-custom-collection-modal/index.tsx | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/web/app/components/tools/edit-custom-collection-modal/index.tsx b/web/app/components/tools/edit-custom-collection-modal/index.tsx index 5fcf6fb02..e84e15da1 100644 --- a/web/app/components/tools/edit-custom-collection-modal/index.tsx +++ b/web/app/components/tools/edit-custom-collection-modal/index.tsx @@ -327,36 +327,36 @@ const EditCustomCollectionModal: FC = ({ + {showEmojiPicker && { + setEmoji({ content: icon, background: icon_background }) + setShowEmojiPicker(false) + }} + onClose={() => { + setShowEmojiPicker(false) + }} + />} + {credentialsModalShow && ( + setCredentialsModalShow(false)} + />) + } + {isShowTestApi && ( + setIsShowTestApi(false)} + /> + )} } isShowMask={true} clickOutsideNotOpen={true} /> - {showEmojiPicker && { - setEmoji({ content: icon, background: icon_background }) - setShowEmojiPicker(false) - }} - onClose={() => { - setShowEmojiPicker(false) - }} - />} - {credentialsModalShow && ( - setCredentialsModalShow(false)} - />) - } - {isShowTestApi && ( - setIsShowTestApi(false)} - /> - )} )