mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(react/dialogs): unnecessary listeners on modal render
This commit is contained in:
parent
bde270b73f
commit
c0d3027e65
@ -71,7 +71,7 @@ export default function Modal({ children, className, size, title, header, footer
|
|||||||
modalElement.removeEventListener("hidden.bs.modal", onHidden);
|
modalElement.removeEventListener("hidden.bs.modal", onHidden);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
}, [ ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
const dialogStyle: CSSProperties = {};
|
const dialogStyle: CSSProperties = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user