Ver código fonte

example of readonly (#25220)

tags/2.0.0-beta.2^2
Asuka Minato 1 mês atrás
pai
commit
95eac7f7f0
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      web/app/components/app/type-selector/index.tsx

+ 1
- 1
web/app/components/app/type-selector/index.tsx Ver arquivo

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

Carregando…
Cancelar
Salvar