diff --git a/src/lib/memory/toast.js b/src/lib/memory/toast.js index 72b189b..f6c89b5 100644 --- a/src/lib/memory/toast.js +++ b/src/lib/memory/toast.js @@ -27,7 +27,7 @@ export default toasts; export function addToastObject(toast) { /** @type {Toast & {id: ToastID}} */ const entry = { - id: hashOf(Date.now()), + id: hashOf(Math.random()), ...toast, }