Web: Management: added branding store to spaces store

This commit is contained in:
DmitrySychugov 2023-07-31 19:19:19 +05:00
parent 273341677c
commit 07732b8e12

View File

@ -9,7 +9,7 @@ const { auth: authStore } = store;
export class RootStore { export class RootStore {
authStore = authStore; authStore = authStore;
brandingStore = new BrandingStore(); brandingStore = new BrandingStore();
spacesStore = new SpacesStore(); spacesStore = new SpacesStore(this.brandingStore);
} }
export const RootStoreContext = createContext<RootStore | null>(null); export const RootStoreContext = createContext<RootStore | null>(null);