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 5fcf6fb024..e84e15da17 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)} - /> - )} )