add href to appease typescript

This commit is contained in:
Ben McCann committed 2024-01-22 08:53:28 -08:00
1 parent 8276e516a4
commit 5dbdd4ab79
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@
const secret = $page.url.searchParams.get('secret');
await account.updateMagicURLSession(userId, secret);
window.location = `appwrite-callback-${projectId}://${$page.url.search}`;
window.location.href = `appwrite-callback-${projectId}://${$page.url.search}`;
});
</script>
+1 -1
View File
@@ -9,7 +9,7 @@
if (!project) {
reject('no-project');
}
window.location = link;
window.location.href = link;
});
</script>
+1 -1
View File
@@ -9,7 +9,7 @@
if (!project) {
reject('no-project');
}
window.location = link;
window.location.href = link;
});
</script>