fix(frontend): fix eslint errors
This commit is contained in:
parent
d691d4b151
commit
70b4417128
9 changed files with 9 additions and 10 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue