mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(frontend): add missing await
This commit is contained in:
parent
1f6a6a1cfc
commit
6c17ee98b2
@ -143,7 +143,7 @@ export const EditContentTypeFieldsDialog = ({
|
|||||||
<form
|
<form
|
||||||
onSubmit={handleSubmit(async (data) => {
|
onSubmit={handleSubmit(async (data) => {
|
||||||
if (!!contentType)
|
if (!!contentType)
|
||||||
updateContentType({
|
await updateContentType({
|
||||||
id: contentType.id,
|
id: contentType.id,
|
||||||
params: {
|
params: {
|
||||||
fields: data.fields,
|
fields: data.fields,
|
||||||
|
Loading…
Reference in New Issue
Block a user