fix(frontend): add missing async

This commit is contained in:
yassinedorbozgithub 2024-10-07 16:30:09 +01:00
parent e70c705d10
commit 1f6a6a1cfc

View File

@ -141,7 +141,7 @@ export const EditContentTypeFieldsDialog = ({
{t("title.manage_fields")}
</DialogTitle>
<form
onSubmit={handleSubmit((data) => {
onSubmit={handleSubmit(async (data) => {
if (!!contentType)
updateContentType({
id: contentType.id,