Fixed AuthToken Input on Chrome

This commit is contained in:
Neshura 2023-09-12 19:16:23 +02:00
parent a09f654c93
commit 98d7bc5567
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -18,11 +18,9 @@
} }
let authToken: string; let authToken: string;
$: { if (browser) {
if (browser) { authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1]; $AuthTokenStore = authToken;
$AuthTokenStore = authToken;
}
} }
const toggleSettings = () => { const toggleSettings = () => {