[WEB-1397] fix: UI package logo component (#4858)

* fix: logo component

* chore: add missing anchor observable
This commit is contained in:
Aaryan Khandelwal
2024-06-18 16:16:50 +05:30
committed by GitHub
parent 56956d8786
commit 59f0e9fe2c
3 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
"use client";
import React, { FC } from "react";
import { Emoji } from "emoji-picker-react";
import useFontFaceObserver from "use-font-face-observer";

View File

@@ -36,7 +36,7 @@ export class CoreRootStore {
this.user.hydrate(data?.user || undefined);
};
reset = () => {
reset() {
localStorage.setItem("theme", "system");
this.instance = new InstanceStore(this);
this.user = new UserStore(this);
@@ -45,5 +45,5 @@ export class CoreRootStore {
this.mentionStore = new MentionsStore(this);
this.issueFilter = new IssueFilterStore(this);
this.publishList = new PublishListStore(this);
};
}
}

View File

@@ -109,6 +109,7 @@ export class Page implements IPage {
label_ids: observable,
owned_by: observable.ref,
access: observable.ref,
anchor: observable.ref,
is_favorite: observable.ref,
is_locked: observable.ref,
archived_at: observable.ref,