ID can be const.

This commit is contained in:
Harald Brunner 2022-06-06 19:33:14 +02:00
commit 6cbab8c3a3

View file

@ -46,7 +46,7 @@
let buttonRef = null; let buttonRef = null;
let innerModal = null; let innerModal = null;
let didClickInnerModal = false; let didClickInnerModal = false;
let id = "ccs-" + Math.random().toString(36); const id = "ccs-" + Math.random().toString(36);
setContext("ComposedModal", { setContext("ComposedModal", {
closeModal: () => { closeModal: () => {