From d664ddc9b84b25922239e3bbc253b35ea54f2533 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Sun, 3 Jan 2021 05:47:07 +0300
Subject: Fixes Preexisting Linting Issues

Fixes all errors, and most warnings generated by eslint. Most were fixed
 by eslint automatically such as indentation and quotes.

Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
---
 src/components/HeaderBar/index.tsx | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

(limited to 'src/components/HeaderBar/index.tsx')

diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx
index b789ddb..dfe3957 100644
--- a/src/components/HeaderBar/index.tsx
+++ b/src/components/HeaderBar/index.tsx
@@ -16,17 +16,17 @@ width: 100%;
 transition: height 1s;
 `;
 
-function HeaderBar({ title }: HeaderBarProps) {
-  if (!title) {
-    title = "Python Discord Forms";
-  };
+function HeaderBar({ title }: HeaderBarProps): JSX.Element {
+    if (!title) {
+        title = "Python Discord Forms";
+    }
   
-  return <div>
-    <div>
-      <Header1 css={headerImageStyles}/>
-      <Header2 css={headerImageStyles}/>
-    </div>
-    <h1 css={css`
+    return <div>
+        <div>
+            <Header1 css={headerImageStyles}/>
+            <Header2 css={headerImageStyles}/>
+        </div>
+        <h1 css={css`
       font-size: 4vw;
       margin: 0;
       margin-top: 30px;
@@ -51,9 +51,9 @@ function HeaderBar({ title }: HeaderBarProps) {
         margin-left: 0;
       }
     `}>
-      {title}
-    </h1>
-  </div>
+            {title}
+        </h1>
+    </div>;
 }
 
 export default HeaderBar;
-- 
cgit v1.2.3

