From 6d1c7cf6ca3c81c5ab8ac3b447d652dfc0685c12 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 21 Jun 2026 22:18:51 +0100 Subject: [PATCH] Remove success message display for job and printer creation in NewJob and NewPrinter components to streamline user feedback during submission. --- src/components/Dashboard/Production/Jobs/NewJob.jsx | 1 - src/components/Dashboard/Production/Printers/NewPrinter.jsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/Dashboard/Production/Jobs/NewJob.jsx b/src/components/Dashboard/Production/Jobs/NewJob.jsx index 7a4c86a..526a107 100644 --- a/src/components/Dashboard/Production/Jobs/NewJob.jsx +++ b/src/components/Dashboard/Production/Jobs/NewJob.jsx @@ -64,7 +64,6 @@ const NewJob = ({ onOk, defaultValues }) => { onSubmit={async () => { const result = await handleSubmit() if (result) { - showSuccess('New job created successfully.') onOk() } }} diff --git a/src/components/Dashboard/Production/Printers/NewPrinter.jsx b/src/components/Dashboard/Production/Printers/NewPrinter.jsx index 1dda1bb..2f717a3 100644 --- a/src/components/Dashboard/Production/Printers/NewPrinter.jsx +++ b/src/components/Dashboard/Production/Printers/NewPrinter.jsx @@ -99,7 +99,6 @@ const NewPrinter = ({ onOk, defaultValues }) => { onSubmit={async () => { const result = await handleSubmit() if (result) { - showSuccess('New printer added successfully.') onOk() } }}