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:
@@ -143,7 +143,7 @@ export const EditContentTypeFieldsDialog = ({
|
||||
<form
|
||||
onSubmit={handleSubmit(async (data) => {
|
||||
if (!!contentType)
|
||||
updateContentType({
|
||||
await updateContentType({
|
||||
id: contentType.id,
|
||||
params: {
|
||||
fields: data.fields,
|
||||
|
||||
Reference in New Issue
Block a user