perf: member tableui (#4353)
This commit is contained in:
@@ -4,6 +4,7 @@ import MyModal from '@fastgpt/web/components/common/MyModal';
|
||||
import { useToast } from '@fastgpt/web/hooks/useToast';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import { useRequest2 } from '@fastgpt/web/hooks/useRequest';
|
||||
import FormLabel from '@fastgpt/web/components/common/MyBox/FormLabel';
|
||||
|
||||
export const useEditTitle = ({
|
||||
title,
|
||||
@@ -89,11 +90,7 @@ export const useEditTitle = ({
|
||||
return (
|
||||
<MyModal isOpen={isOpen} onClose={onClose} iconSrc={iconSrc} title={title} maxW={'500px'}>
|
||||
<ModalBody>
|
||||
{!!tip && (
|
||||
<Box mb={2} color={'myGray.500'} fontSize={'sm'}>
|
||||
{tip}
|
||||
</Box>
|
||||
)}
|
||||
{!!tip && <FormLabel mb={2}>{tip}</FormLabel>}
|
||||
|
||||
<Input
|
||||
ref={inputRef}
|
||||
|
||||
Reference in New Issue
Block a user