fix(frontend): fix eslint errors

This commit is contained in:
Sam 2023-04-20 09:29:47 +02:00 committed by Gitea
parent d691d4b151
commit 70b4417128
9 changed files with 9 additions and 10 deletions

View file

@ -4,8 +4,8 @@
export let icon: string;
export let color: "primary" | "secondary" | "success" | "danger";
export let tooltip: string;
export let active: boolean = false;
export let disabled: boolean = false;
export let active = false;
export let disabled = false;
export let type: string | undefined = undefined;
export let id: string | undefined = undefined;

View file

@ -6,7 +6,7 @@ import type { MeUser } from "./api/entities";
const initialUserValue = null;
export const userStore = writable<MeUser | null>(initialUserValue);
let defaultThemeValue = "dark";
const defaultThemeValue = "dark";
const initialThemeValue = browser
? window.localStorage.getItem("pronouns-theme") ?? defaultThemeValue
: defaultThemeValue;