Fixed AuthToken Input on Chrome
This commit is contained in:
parent
a09f654c93
commit
98d7bc5567
1 changed files with 3 additions and 5 deletions
|
@ -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 = () => {
|
||||
|
|
Reference in a new issue