example of readonly (#25220)

This commit is contained in:
Asuka Minato
2025-09-05 13:41:54 +09:00
committed by GitHub
parent f84b9fd5ef
commit 95eac7f7f0

View File

@@ -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(