fix cookie

This commit is contained in:
Damodar Lohani committed 2024-04-23 01:55:51 +00:00
1 parent b559b64a4a
commit c78a937d9b
1 file changed
+1 -2
+1 -2
View File
@@ -42,8 +42,7 @@
if (utm_campaign) sources.push(`utm_campaign=${utm_campaign}`);
sources = [...new Set(sources)];
const encodedSources = encodeURIComponent(sources.join(','));
Cookies.set('source', encodedSources);
Cookies.set('source', sources);
}
if ($page.url.searchParams.has('migrate')) {