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 }) => ( - +