fix(frontend): add missing await

This commit is contained in:
yassinedorbozgithub 2024-10-07 16:30:40 +01:00
parent 1f6a6a1cfc
commit 6c17ee98b2

View File

@ -143,7 +143,7 @@ export const EditContentTypeFieldsDialog = ({
<form
onSubmit={handleSubmit(async (data) => {
if (!!contentType)
updateContentType({
await updateContentType({
id: contentType.id,
params: {
fields: data.fields,