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;
$: {
if (browser) {
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
$AuthTokenStore = authToken;
}
if (browser) {
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
$AuthTokenStore = authToken;
}
const toggleSettings = () => {