Review changes

This commit is contained in:
Karl Ludwig Weise
2025-09-12 15:34:02 +02:00
parent e2cd43742d
commit c146f25ad2
2 changed files with 3 additions and 7 deletions
-1
View File
@@ -13,7 +13,6 @@ export const SIDEBAR_EDUCATION_STORAGE_KEY = "sidebar-is-educated";
function createSidebarStore() {
const isOpenValue = browser ? getCookie(SIDEBAR_OPEN_STORAGE_KEY) : null;
const isEducatedValue = browser ? getCookie(SIDEBAR_EDUCATION_STORAGE_KEY) : null;
console.log("isEducatedValue", isEducatedValue);
const store = writable<AuthState>({
isOpen: isOpenValue === "true" ? true : false,
isEducated: isEducatedValue === "true" ? true : false,
+3 -6
View File
@@ -1,6 +1,3 @@
export type TTenant = {
id: string;
shortName: string;
longName: string;
setupState: "NEW" | "SETTINGS_CREATED" | "AGENTS_SET_UP" | "FIRST_CHANNEL_CREATED";
};
import type { SelectTenant } from "$lib/server/db/central-schema";
export type TTenant = Pick<SelectTenant, "id" | "shortName" | "longName" | "setupState">;