fix: keep board creation changes persistent
This commit is contained in:
1 parent
1c089dd906
commit
e31dffb42d
4 files changed
+13
-30
No files matched your search
@@ -21,15 +21,15 @@ const ActionButtons = ({
|
||||
loading,
|
||||
form,
|
||||
}: Pick<ModalFormFooterProps, "onCancel" | "submitLabel" | "cancelLabel" | "loading" | "form">) => {
|
||||
const t = useI18n();
|
||||
const t = useI18n("common.action");
|
||||
|
||||
return (
|
||||
<>
|
||||
<Button onClick={onCancel} variant="subtle" color="gray">
|
||||
{cancelLabel ?? t("common.action.cancel")}
|
||||
{cancelLabel ?? t("cancel")}
|
||||
</Button>
|
||||
<Button type="submit" form={form} loading={loading}>
|
||||
{submitLabel ?? t("common.action.saveChanges")}
|
||||
{submitLabel ?? t("saveChanges")}
|
||||
</Button>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user