aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-08-08 23:31:21 +0100
committerGravatar Joe Banks <[email protected]>2025-08-08 23:31:21 +0100
commit8d656e056eb61b64c237ca8ece9482a6258e03f1 (patch)
tree655880609c2c9a08c857b3b5fac00123c9137c91 /src/components
parentPass precheck data down tree for submission (diff)
Eslint on new changes
Diffstat (limited to 'src/components')
-rw-r--r--src/components/PrecheckBox.tsx6
-rw-r--r--src/components/Question.tsx2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/PrecheckBox.tsx b/src/components/PrecheckBox.tsx
index 75a48eb..c45ffc2 100644
--- a/src/components/PrecheckBox.tsx
+++ b/src/components/PrecheckBox.tsx
@@ -1,5 +1,5 @@
/** @jsx jsx */
-import { css, jsx } from "@emotion/react";
+import { jsx } from "@emotion/react";
import styled from "@emotion/styled";
interface PrecheckProps {
@@ -11,10 +11,10 @@ const BACKGROUNDS = {
secondary: "#7e7c7cff",
warning: "#a09b53ff",
danger: "#b4747aff"
-}
+};
interface PrecheckBoxProps {
- severity: PrecheckProps['severity']
+ severity: PrecheckProps["severity"]
}
diff --git a/src/components/Question.tsx b/src/components/Question.tsx
index 1c3a986..f39b117 100644
--- a/src/components/Question.tsx
+++ b/src/components/Question.tsx
@@ -295,7 +295,7 @@ class RenderedQuestion extends React.Component<QuestionProp> {
let text;
if (data && typeof(data) === "string") {
- text = <ReactMarkdown>{data}</ReactMarkdown>
+ text = <ReactMarkdown>{data}</ReactMarkdown>;
} else {
text = "";
}