mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
parent
7202491c7e
commit
cd7d3e3fd7
2
ui/src/services/UserService.ts
vendored
2
ui/src/services/UserService.ts
vendored
@ -17,9 +17,7 @@ export class UserService {
|
|||||||
if (jwt) {
|
if (jwt) {
|
||||||
this.setUser(jwt);
|
this.setUser(jwt);
|
||||||
} else {
|
} else {
|
||||||
if (this.user.theme != 'darkly') {
|
|
||||||
setTheme();
|
setTheme();
|
||||||
}
|
|
||||||
console.log('No JWT cookie found.');
|
console.log('No JWT cookie found.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user