diff --git a/frontend/src/lib/components/Toggle.svelte b/frontend/src/lib/components/Toggle.svelte index 5f396fa7b0..5c39f8760c 100644 --- a/frontend/src/lib/components/Toggle.svelte +++ b/frontend/src/lib/components/Toggle.svelte @@ -9,7 +9,7 @@ | undefined = undefined export let checked = options?.right.value === value - const id = Date.now().toString(36) + const id = (Math.random() + 1).toString(36).substring(10) const dispatch = createEventDispatcher()