aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-02-08 20:57:50 +0200
committerGravatar GitHub <[email protected]>2021-02-08 20:57:50 +0200
commitee7e6cb230e50ba1e945ef0fae497b57a9d5b5c9 (patch)
tree0575a82023e7a62f4b7087c703aecc48a29f6981
parentRemove quiet flag from Husky hooks to show warnings (diff)
Undo testing rules breaking
-rw-r--r--src/pages/FormPage.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx
index ea51689..c49b9fd 100644
--- a/src/pages/FormPage.tsx
+++ b/src/pages/FormPage.tsx
@@ -170,7 +170,6 @@ function FormPage(): JSX.Element {
const questions = form.questions.map((question, index) => {
return <RenderedQuestion question={question} public_state={new Map()} key={index + Date.now()}/>;
});
- let foo;
function handleSubmit(event: SyntheticEvent) {
questions.forEach(prop => {
@@ -196,7 +195,7 @@ function FormPage(): JSX.Element {
return (
<div>
<HeaderBar title={form.name} description={form.description}/>
-
+
<div>
<form id="form" onSubmit={handleSubmit} css={[formStyles, unselectable]}>
{ closed_header }