mirror of
https://github.com/hexastack/hexabot
synced 2025-05-12 00:21:05 +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")}
|
{t("title.manage_fields")}
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<form
|
<form
|
||||||
onSubmit={handleSubmit((data) => {
|
onSubmit={handleSubmit(async (data) => {
|
||||||
if (!!contentType)
|
if (!!contentType)
|
||||||
updateContentType({
|
updateContentType({
|
||||||
id: contentType.id,
|
id: contentType.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user