0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): app creation quota limit should be displayed on create app form (#4402)

This commit is contained in:
Charles Zhao 2023-08-29 16:35:11 +08:00 committed by GitHub
parent c5bf1d7171
commit ff6a1ffa4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ function CreateForm({ defaultCreateType, defaultCreateFrameworkName, onClose }:
control, control,
register, register,
formState: { errors, isSubmitting }, formState: { errors, isSubmitting },
} = useForm<FormData>(); } = useForm<FormData>({ defaultValues: { type: defaultCreateType } });
const { const {
field: { onChange, value, name, ref }, field: { onChange, value, name, ref },