From ee3b8e643205b415900cfc3080a3ae0261bc221f Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Fri, 8 Jan 2021 15:39:20 -0700 Subject: [PATCH] admin(ui): fix box title on MountEditContainer.tsx --- .../scripts/components/admin/mounts/MountEditContainer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/scripts/components/admin/mounts/MountEditContainer.tsx b/resources/scripts/components/admin/mounts/MountEditContainer.tsx index f33e3ce0a..6004f3a55 100644 --- a/resources/scripts/components/admin/mounts/MountEditContainer.tsx +++ b/resources/scripts/components/admin/mounts/MountEditContainer.tsx @@ -50,13 +50,13 @@ const EditInformationContainer = () => { } const submit = ({ name, description, source, target, readOnly, userMountable }: Values, { setSubmitting }: FormikHelpers) => { - clearFlashes('nest'); + clearFlashes('mount'); updateMount(mount.id, name, description, source, target, readOnly, userMountable) .then(() => setMount({ ...mount, name, description, source, target, readOnly, userMountable })) .catch(error => { console.error(error); - clearAndAddHttpError({ key: 'nest', error }); + clearAndAddHttpError({ key: 'mount', error }); }) .then(() => setSubmitting(false)); }; @@ -84,7 +84,7 @@ const EditInformationContainer = () => { { ({ isSubmitting, isValid }) => ( - +