diff --git a/src/index.html b/src/index.html index 78c8141..1266664 100644 --- a/src/index.html +++ b/src/index.html @@ -260,9 +260,15 @@ x-transition:leave-start="opacity-100 transform scale-100" x-transition:leave-end="opacity-0 transform scale-90" > - - - + + + $dispatch('show:toast', false), 1000) + $dispatch("show:toast", item.icon_name); + setTimeout(() => $dispatch("show:toast", false), 1000); }); } }); @@ -1453,12 +1459,12 @@ item.icon_path + `.svg`; navigator.clipboard.writeText(url); - - $dispatch('show:toast', item.icon_name) - setTimeout(() => $dispatch('show:toast', false), 1000) + + $dispatch("show:toast", item.icon_name); + setTimeout(() => $dispatch("show:toast", false), 1000); } else { - $dispatch('show:toast', item.icon_name) - setTimeout(() => $dispatch('show:toast', false), 1000) + $dispatch("show:toast", item.icon_name); + setTimeout(() => $dispatch("show:toast", false), 1000); } }, };