forked from tuvn86/webapp-conversation
feat: lint code
This commit is contained in:
parent
2e46f795a4
commit
cfd0c9532f
36 changed files with 226 additions and 210 deletions
|
|
@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next'
|
|||
import TemplateVarPanel, { PanelTitle, VarOpBtnGroup } from '../value-panel'
|
||||
import s from './style.module.css'
|
||||
import { AppInfoComp, ChatBtn, EditBtn, FootLogo, PromptTemplate } from './massive-component'
|
||||
import type { PromptConfig, AppInfo } from '@/types/app'
|
||||
import type { AppInfo, PromptConfig } from '@/types/app'
|
||||
import Toast from '@/app/components/base/toast'
|
||||
import Select from '@/app/components/base/select'
|
||||
import { DEFAULT_VALUE_MAX_LEN } from '@/config'
|
||||
|
|
@ -276,7 +276,7 @@ const Welcome: FC<IWelcomeProps> = ({
|
|||
}
|
||||
|
||||
const renderHasSetInputs = () => {
|
||||
if (!isPublicVersion && !canEidtInpus || !hasVar)
|
||||
if ((!isPublicVersion && !canEidtInpus) || !hasVar)
|
||||
return null
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue