diff --git a/src/server/index.tsx b/src/server/index.tsx index ce89a7fa..1c04ed5d 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -99,9 +99,9 @@ server.get('/*', async (req, res) => {
${root}
diff --git a/src/shared/services/UserService.ts b/src/shared/services/UserService.ts index 760fb4e4..72066ad4 100644 --- a/src/shared/services/UserService.ts +++ b/src/shared/services/UserService.ts @@ -1,7 +1,6 @@ // import Cookies from 'js-cookie'; import IsomorphicCookie from 'isomorphic-cookie'; import { User, LoginResponse } from 'lemmy-js-client'; -import { setTheme } from '../utils'; import jwt_decode from 'jwt-decode'; import { Subject, BehaviorSubject } from 'rxjs'; diff --git a/src/shared/utils.ts b/src/shared/utils.ts index 79d52adf..0e9f3a12 100644 --- a/src/shared/utils.ts +++ b/src/shared/utils.ts @@ -1054,9 +1054,9 @@ function hsl(num: number) { return `hsla(${num}, 35%, 50%, 1)`; } -function randomHsl() { - return `hsla(${Math.random() * 360}, 100%, 50%, 1)`; -} +// function randomHsl() { +// return `hsla(${Math.random() * 360}, 100%, 50%, 1)`; +// } export function previewLines( text: string,