forked from nutomic/lemmy
parent
ce83e5a0de
commit
062d7f2af4
1 changed files with 1 additions and 3 deletions
4
ui/src/services/UserService.ts
vendored
4
ui/src/services/UserService.ts
vendored
|
@ -17,9 +17,7 @@ export class UserService {
|
|||
if (jwt) {
|
||||
this.setUser(jwt);
|
||||
} else {
|
||||
if (this.user.theme != 'darkly') {
|
||||
setTheme();
|
||||
}
|
||||
setTheme();
|
||||
console.log('No JWT cookie found.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue