Add destroyOnHidden prop to NewPrinter modal for improved cleanup on close
This commit is contained in:
parent
6c0933b797
commit
1f7b7292fb
@ -87,6 +87,7 @@ const Printers = () => {
|
||||
onCancel={() => {
|
||||
setNewPrinterOpen(false)
|
||||
}}
|
||||
destroyOnHidden
|
||||
>
|
||||
<NewPrinter
|
||||
onOk={() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user