| | |
| | | try { |
| | | await onAdd(payload) |
| | | } |
| | | catch { |
| | | catch (e) { |
| | | } |
| | | setIsSaving(false) |
| | | |
| | |
| | | maxWidthClassName='!max-w-[480px]' |
| | | title={t('appAnnotation.addModal.title') as string} |
| | | body={( |
| | | <div className='space-y-6 p-6 pb-4'> |
| | | <div className='p-6 pb-4 space-y-6'> |
| | | <EditItem |
| | | type={EditItemType.Query} |
| | | content={question} |
| | |
| | | ( |
| | | <div> |
| | | {isAnnotationFull && ( |
| | | <div className='mb-4 mt-6 px-6'> |
| | | <div className='mt-6 mb-4 px-6'> |
| | | <AnnotationFull /> |
| | | </div> |
| | | )} |
| | | <div className='system-sm-medium flex h-16 items-center justify-between rounded-bl-xl rounded-br-xl border-t border-divider-subtle bg-background-section-burn px-4 text-text-tertiary'> |
| | | <div className='px-4 flex h-16 items-center justify-between border-t border-divider-subtle bg-background-section-burn rounded-bl-xl rounded-br-xl system-sm-medium text-text-tertiary'> |
| | | <div |
| | | className='flex items-center space-x-2' |
| | | > |