perf: value type checker (#5255)

* perf: value type checker

* fix: ts
This commit is contained in:
Archer
2025-07-18 16:39:42 +08:00
committed by GitHub
parent 6f75c1b80e
commit 593c816c1a
4 changed files with 32 additions and 33 deletions

View File

@@ -97,7 +97,13 @@ const PromptEditor = ({
/>
)}
</Box>
<MyModal isOpen={isOpen} onClose={onClose} iconSrc="modal/edit" title={title} w={'full'}>
<MyModal
isOpen={isOpen}
onClose={onClose}
iconSrc="modal/edit"
title={title || t('common:Edit')}
w={'full'}
>
<ModalBody>
<Editor
minH={400}