We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d09ce5 commit d04b470Copy full SHA for d04b470
src/routes/+page.svelte
@@ -217,7 +217,11 @@
217
});
218
219
$effect(() => {
220
- if (!showStickersSection || keyringInitialized || !keyringModel) {
+ if (!showStickersSection) {
221
+ return;
222
+ }
223
+
224
+ if (keyringInitialized || !keyringModel) {
225
return;
226
}
227
@@ -381,7 +385,10 @@
381
385
<button
382
386
class="button md fixed top-4 right-4 z-50 border-3 border-orange-900 bg-orange-800 outline-orange-50 transition-all hover:scale-105 hover:bg-orange-700 animate-[bounce_2.5s_ease-in-out_infinite]"
383
387
style="transform: rotate(-2deg);"
384
- onclick={() => (showStickersSection = !showStickersSection)}
388
+ onclick={() => {
389
+ keyringInitialized = false;
390
+ showStickersSection = !showStickersSection;
391
+ }}
392
>
393
Free swag!
394
</button>
0 commit comments