aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/FormPage/ErrorPage.tsx2
-rw-r--r--src/pages/FormPage/FormPage.tsx2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/pages/FormPage/ErrorPage.tsx b/src/pages/FormPage/ErrorPage.tsx
index 3766181..9a7fad9 100644
--- a/src/pages/FormPage/ErrorPage.tsx
+++ b/src/pages/FormPage/ErrorPage.tsx
@@ -4,7 +4,6 @@ import {Link} from "react-router-dom";
import React from "react";
import HeaderBar from "../../components/HeaderBar";
-import RenderedQuestion from "../../components/Question";
import {Form} from "../../api/forms";
import {selectable, submitStyles, unselectable} from "../../commonStyles";
@@ -14,7 +13,6 @@ import Navigation from "./Navigation";
interface ErrorProps {
form: Form
- questions: RenderedQuestion[]
message: string
}
diff --git a/src/pages/FormPage/FormPage.tsx b/src/pages/FormPage/FormPage.tsx
index 1852c75..a67566d 100644
--- a/src/pages/FormPage/FormPage.tsx
+++ b/src/pages/FormPage/FormPage.tsx
@@ -120,7 +120,7 @@ function FormPage(): JSX.Element {
case FormState.UNKNOWN_ERROR:
return <ErrorPage
- form={form} questions={questions}
+ form={form}
message="An unknown error occurred, please contact the forms team or try again."
/>;
}