fix: change to non-reactive statements

This commit is contained in:
2025-12-30 11:22:42 -05:00
parent b44f0bce0a
commit 55bee20e5d
@@ -10,8 +10,8 @@
window.location.href = '/'; window.location.href = '/';
} }
$: currentPath = page.url.pathname; let currentPath = page.url.pathname;
$: returnParam = let returnParam =
currentPath !== '/' ? `?return=${encodeURIComponent(page.url.pathname + page.url.search)}` : ''; currentPath !== '/' ? `?return=${encodeURIComponent(page.url.pathname + page.url.search)}` : '';
</script> </script>