mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
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
Block a user