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={() => {
|
onCancel={() => {
|
||||||
setNewPrinterOpen(false)
|
setNewPrinterOpen(false)
|
||||||
}}
|
}}
|
||||||
|
destroyOnHidden
|
||||||
>
|
>
|
||||||
<NewPrinter
|
<NewPrinter
|
||||||
onOk={() => {
|
onOk={() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user