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