]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/no-match.tsx
Running newer prettier.
[lemmy-ui.git] / src / shared / components / no-match.tsx
index 99ea61512446de0e181c8139592164f443be3314..b11c0e54571ec1019a5f146cf6ef402fd9c65637 100644 (file)
@@ -1,8 +1,8 @@
-import { Component } from 'inferno';
-import { i18n } from '../i18next';
+import { Component } from "inferno";
+import { i18n } from "../i18next";
 
 export class NoMatch extends Component<any, any> {
-  private errCode = new URLSearchParams(this.props.location.search).get('err');
+  private errCode = new URLSearchParams(this.props.location.search).get("err");
 
   constructor(props: any, context: any) {
     super(props, context);
@@ -14,7 +14,7 @@ export class NoMatch extends Component<any, any> {
         <h1>404</h1>
         {this.errCode && (
           <h3>
-            {i18n.t('code')}: {i18n.t(this.errCode)}
+            {i18n.t("code")}: {i18n.t(this.errCode)}
           </h3>
         )}
       </div>