mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
fix(frontend): add missing async
This commit is contained in:
parent
e70c705d10
commit
1f6a6a1cfc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user