aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-06 14:38:42 +0100
committerGravatar Joe Banks <[email protected]>2020-10-06 14:38:42 +0100
commite2f150000933b8d51de46da91aa60206db09baa3 (patch)
treee3e865836765be4f5f1b03572626e7c56c3effc2
parentWhen a code is received post it back to the opener (diff)
Re-add the OAuth2 button to the home page
-rw-r--r--src/pages/LandingPage.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx
index 60deb30..2e2bfd6 100644
--- a/src/pages/LandingPage.tsx
+++ b/src/pages/LandingPage.tsx
@@ -5,6 +5,7 @@ import HeaderBar from "../components/HeaderBar";
import FormListing from "../components/FormListing";
import { getForms } from "../api/forms";
+import OAuth2Button from "../components/OAuth2Button";
function LandingPage() {
return <div>
@@ -17,7 +18,9 @@ function LandingPage() {
flex-direction: column;
`}>
<h1>Available Forms</h1>
-
+
+ <OAuth2Button/>
+
{getForms().map(form => (
<FormListing key={form.id} form={form}/>