SortType,
} from "lemmy-js-client";
import { elementUrl, emDash, relTags } from "../../config";
-import { UserService } from "../../services";
+import { FirstLoadService, UserService } from "../../services";
import { HttpService, RequestState } from "../../services/HttpService";
import { I18NextService, languages } from "../../services/I18NextService";
import { setupTippy } from "../../tippy";
this.handleBlockPerson = this.handleBlockPerson.bind(this);
this.handleBlockCommunity = this.handleBlockCommunity.bind(this);
+ FirstLoadService.isFirstLoad;
+
const mui = UserService.Instance.myUserInfo;
if (mui) {
const {
});
if (saveRes.state === "success") {
UserService.Instance.login(saveRes.data);
- location.reload();
toast(I18NextService.i18n.t("saved"));
window.scrollTo(0, 0);
}