mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
ID can be const
.
This commit is contained in:
parent
4bfc2c3810
commit
6cbab8c3a3
1 changed files with 1 additions and 1 deletions
|
@ -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: () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue