chore: setup linting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { localState } from '$lib/helpers/localState.svelte';
|
||||
|
||||
type Panel = {
|
||||
export type Panel = {
|
||||
icon: string;
|
||||
classes: string;
|
||||
hidden?: boolean;
|
||||
@@ -14,6 +14,10 @@ class PanelState {
|
||||
return Object.keys(this.panels);
|
||||
}
|
||||
|
||||
public unregisterPanel(id: string) {
|
||||
delete this.panels[id];
|
||||
}
|
||||
|
||||
public registerPanel(id: string, icon: string, classes: string, hidden: boolean): Panel {
|
||||
const state = $state({
|
||||
icon: icon,
|
||||
|
||||
Reference in New Issue
Block a user