From 986660501dd9e4c0351ef4f08a9d6832eb01a44b Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 5 Oct 2020 13:05:06 +0100 Subject: Link to the form page instead of generic form URL --- src/components/FormListing.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/FormListing.tsx b/src/components/FormListing.tsx index dc761b6..2493608 100644 --- a/src/components/FormListing.tsx +++ b/src/components/FormListing.tsx @@ -9,10 +9,10 @@ import Tag from "./Tag"; import colors from "../colors"; -import { Form } from "../api/forms"; +import { AllFormsForm } from "../api/forms"; interface FormListingProps { - form: Form + form: AllFormsForm } function FormListing({ form }: FormListingProps) { @@ -43,7 +43,7 @@ function FormListing({ form }: FormListingProps) { closedTag = }; - return + return

{closedTag}{form.title}

{form.description}

-- cgit v1.2.3