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