aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-01-21 20:14:34 +0200
committerGravatar ks129 <[email protected]>2021-01-21 20:14:34 +0200
commit560b4be306e4371ba1e2099c142a4e4661339152 (patch)
tree15a44e455ea2a220fd0e8185875f874cf03a6ec2
parentUse relative units (diff)
parentRemove unnecessary ESLint disable (diff)
Merge branch 'forms-submitting' of https://github.com/python-discord/forms-frontend into forms-submitting
-rw-r--r--src/components/ErrorMessage.tsx2
-rw-r--r--src/components/Question.tsx1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/components/ErrorMessage.tsx b/src/components/ErrorMessage.tsx
index 1cf3cbc..982bdb9 100644
--- a/src/components/ErrorMessage.tsx
+++ b/src/components/ErrorMessage.tsx
@@ -14,7 +14,7 @@ const styles = css`
margin: 1rem 0 0;
`;
-export default function ErrorMessage(props: ErrorMessageProps): JSX.Element|null {
+export default function ErrorMessage(props: ErrorMessageProps): JSX.Element | null {
if (!props.show) {
return null;
}
diff --git a/src/components/Question.tsx b/src/components/Question.tsx
index 750dd64..25ce04d 100644
--- a/src/components/Question.tsx
+++ b/src/components/Question.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-empty-function */
/** @jsx jsx */
import { jsx, css } from "@emotion/react";
import React, { ChangeEvent, FocusEvent } from "react";