diff options
author | 2025-08-08 23:31:21 +0100 | |
---|---|---|
committer | 2025-08-08 23:31:21 +0100 | |
commit | 8d656e056eb61b64c237ca8ece9482a6258e03f1 (patch) | |
tree | 655880609c2c9a08c857b3b5fac00123c9137c91 /src/pages | |
parent | Pass precheck data down tree for submission (diff) |
Eslint on new changes
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/FormPage/FormPage.tsx | 3 | ||||
-rw-r--r-- | src/pages/FormPage/Navigation.tsx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/pages/FormPage/FormPage.tsx b/src/pages/FormPage/FormPage.tsx index 0057ef8..a09b593 100644 --- a/src/pages/FormPage/FormPage.tsx +++ b/src/pages/FormPage/FormPage.tsx @@ -12,9 +12,8 @@ import RenderedQuestion from "../../components/Question"; import Loading from "../../components/Loading"; import ScrollToTop from "../../components/ScrollToTop"; -import {Form, FormFeatures, FormWithAncillaryData, getForm} from "../../api/forms"; +import {FormFeatures, FormWithAncillaryData, getForm} from "../../api/forms"; import {OAuthScopes} from "../../api/auth"; -import colors from "../../colors"; import {unselectable} from "../../commonStyles"; import handleSubmit, {FormState} from "./submit"; diff --git a/src/pages/FormPage/Navigation.tsx b/src/pages/FormPage/Navigation.tsx index c5dfa4a..bf1567f 100644 --- a/src/pages/FormPage/Navigation.tsx +++ b/src/pages/FormPage/Navigation.tsx @@ -24,7 +24,7 @@ export default function Navigation(props: NavigationProps): JSX.Element { } else { innerElement = <button disabled={!props.can_submit} form="form" type="submit">Submit</button>; } - let submit = <div css={styles.actionButtonStyles}>{innerElement}</div>; + const submit = <div css={styles.actionButtonStyles}>{innerElement}</div>; return ( <div css={[styles.unselectable, styles.mainTextStyles]}> |