aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/LandingPage.tsx
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-01-17 16:19:18 +0000
committerGravatar GitHub <[email protected]>2021-01-17 16:19:18 +0000
commitc1bee9cb0efba823740095380cfcca9bf47eb196 (patch)
tree18ed06bca3d17341e9eeabc5364023b9f3ee250b /src/pages/LandingPage.tsx
parentMerge pull request #82 from python-discord/renovate/typescript-eslint-monorepo (diff)
parentCenters Title With No Description (diff)
Merge pull request #74 from python-discord/form-rendering
Diffstat (limited to 'src/pages/LandingPage.tsx')
-rw-r--r--src/pages/LandingPage.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx
index 124bbcf..af968ad 100644
--- a/src/pages/LandingPage.tsx
+++ b/src/pages/LandingPage.tsx
@@ -4,10 +4,11 @@ import { useEffect, useState } from "react";
import HeaderBar from "../components/HeaderBar";
import FormListing from "../components/FormListing";
-
-import { getForms, Form } from "../api/forms";
import OAuth2Button from "../components/OAuth2Button";
import Loading from "../components/Loading";
+import ScrollToTop from "../components/ScrollToTop";
+
+import { getForms, Form } from "../api/forms";
function LandingPage(): JSX.Element {
const [forms, setForms] = useState<Form[]>();
@@ -25,8 +26,8 @@ function LandingPage(): JSX.Element {
return <div>
<HeaderBar/>
+ <ScrollToTop/>
<div>
-
<div css={css`
display: flex;
align-items: center;