mirror of https://github.com/langgenius/dify.git
example of readonly (#25220)
This commit is contained in:
parent
f84b9fd5ef
commit
95eac7f7f0
|
|
@ -103,7 +103,7 @@ export const AppTypeIcon = React.memo(({ type, className, wrapperClassName, styl
|
|||
return null
|
||||
})
|
||||
|
||||
function AppTypeSelectTrigger({ values }: { values: AppSelectorProps['value'] }) {
|
||||
function AppTypeSelectTrigger({ values }: { readonly values: AppSelectorProps['value'] }) {
|
||||
const { t } = useTranslation()
|
||||
if (!values || values.length === 0) {
|
||||
return <div className={cn(
|
||||
|
|
|
|||
Loading…
Reference in New Issue