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={() => { onCancel={() => {
setNewPrinterOpen(false) setNewPrinterOpen(false)
}} }}
destroyOnHidden
> >
<NewPrinter <NewPrinter
onOk={() => { onOk={() => {