From 77611646aadbb537c334c11dee16ae365c111c0c Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 21 Jun 2026 22:35:17 +0100 Subject: [PATCH] Remove success message display for GCode file, job, and printer creation in NewGCodeFile, NewJob, and NewPrinter components to streamline user feedback during submission. --- src/components/Dashboard/Production/GCodeFiles/NewGCodeFile.jsx | 2 -- src/components/Dashboard/Production/Jobs/NewJob.jsx | 1 - src/components/Dashboard/Production/Printers/NewPrinter.jsx | 1 - 3 files changed, 4 deletions(-) diff --git a/src/components/Dashboard/Production/GCodeFiles/NewGCodeFile.jsx b/src/components/Dashboard/Production/GCodeFiles/NewGCodeFile.jsx index 0b6d71e..7df6e6e 100644 --- a/src/components/Dashboard/Production/GCodeFiles/NewGCodeFile.jsx +++ b/src/components/Dashboard/Production/GCodeFiles/NewGCodeFile.jsx @@ -5,7 +5,6 @@ import NewObjectForm from '../../common/NewObjectForm' import WizardView from '../../common/WizardView' const NewGCodeFile = ({ onOk, defaultValues }) => { - const { showSuccess } = useMessageContext() return ( { onSubmit={async () => { const result = await handleSubmit() if (result) { - showSuccess('Finished uploading GCode file!') onOk() } }} diff --git a/src/components/Dashboard/Production/Jobs/NewJob.jsx b/src/components/Dashboard/Production/Jobs/NewJob.jsx index 526a107..d750f1e 100644 --- a/src/components/Dashboard/Production/Jobs/NewJob.jsx +++ b/src/components/Dashboard/Production/Jobs/NewJob.jsx @@ -5,7 +5,6 @@ import NewObjectForm from '../../common/NewObjectForm' import WizardView from '../../common/WizardView' const NewJob = ({ onOk, defaultValues }) => { - const { showSuccess } = useMessageContext() return ( { - const { showSuccess } = useMessageContext() return (