Skip to content

Commit ad77560

Browse files
authored
Merge pull request #2423 from appwrite/check-analytics-explosion
2 parents 34c26a5 + e0f2a37 commit ad77560

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/components/customId.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
id = null;
2828
}
2929
30-
if (!id?.length) {
30+
if (id !== null && !id.length) {
3131
id = null;
3232
}
33+
});
3334
35+
$effect(() => {
3436
if (show) {
3537
trackEvent(Click.ShowCustomIdClick);
3638
}

0 commit comments

Comments
 (0)