]> Untitled Git - lemmy-ui.git/blobdiff - src/client/components/About/About.tsx
Adding prettier
[lemmy-ui.git] / src / client / components / About / About.tsx
index e56e9729cfc73ec0fc98634fc06cacd4b09ef009..152c628fbf36bdff22558a9fb0d23ceaf174b8f7 100644 (file)
@@ -1,32 +1,32 @@
-import { Component } from "inferno";\r
-import "./About.css";\r
-interface IState {\r
-   clickCount: number;\r
-}\r
-interface IProps {}\r
-export default class About extends Component<IProps, IState> {\r
-   constructor(props) {\r
-      super(props);\r
-      this.state = {\r
-         clickCount: 0\r
-      };\r
-      this.increment = this.increment.bind(this);\r
-   }\r
-   protected increment() {\r
-      this.setState({\r
-         clickCount: this.state.clickCount + 1\r
-      });\r
-   }\r
-   public render() {\r
-      return (\r
-         <div>\r
-            Simple Inferno SSR template\r
-            <p className="text">Hello, world!</p>\r
-            <button onClick={this.increment} className="button">\r
-               Increment\r
-            </button>\r
-            <p className="count">{this.state.clickCount}</p>\r
-         </div>\r
-      );\r
-   }\r
-}\r
+import { Component } from 'inferno';
+import './About.css';
+interface IState {
+  clickCount: number;
+}
+interface IProps {}
+export default class About extends Component<IProps, IState> {
+  constructor(props) {
+    super(props);
+    this.state = {
+      clickCount: 0,
+    };
+    this.increment = this.increment.bind(this);
+  }
+  protected increment() {
+    this.setState({
+      clickCount: this.state.clickCount + 1,
+    });
+  }
+  public render() {
+    return (
+      <div>
+        Simple Inferno SSR template
+        <p className="text">Hello, world!</p>
+        <button onClick={this.increment} className="button">
+          Increment
+        </button>
+        <p className="count">{this.state.clickCount}</p>
+      </div>
+    );
+  }
+}