Add destroyOnHidden prop to NewPrinter modal for improved cleanup on close

This commit is contained in:
Tom Butcher 2025-09-05 23:17:45 +01:00
parent 6c0933b797
commit 1f7b7292fb

View File

@ -87,6 +87,7 @@ const Printers = () => {
onCancel={() => {
setNewPrinterOpen(false)
}}
destroyOnHidden
>
<NewPrinter
onOk={() => {