]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/community/create-community.tsx
Fix issue when navigating awat from settings
[lemmy-ui.git] / src / shared / components / community / create-community.tsx
index 2ce5af5a67cf01037872e9693b2e6290d34273bd..aad6630eb8dcf682f7c179ebd67351f65899955c 100644 (file)
@@ -4,7 +4,7 @@ import {
   CreateCommunity as CreateCommunityI,
   GetSiteResponse,
 } from "lemmy-js-client";
-import { HttpService, I18NextService } from "../../services";
+import { FirstLoadService, HttpService, I18NextService } from "../../services";
 import { HtmlTags } from "../common/html-tags";
 import { CommunityForm } from "./community-form";
 
@@ -22,6 +22,8 @@ export class CreateCommunity extends Component<any, CreateCommunityState> {
   constructor(props: any, context: any) {
     super(props, context);
     this.handleCommunityCreate = this.handleCommunityCreate.bind(this);
+
+    FirstLoadService.isFirstLoad;
   }
 
   get documentTitle(): string {