Skip to content

Commit d856d16

Browse files
author
Luciano Nooijen
committed
Linting fixes
Signed-off-by: Luciano Nooijen <luciano@bytecode.nl>
1 parent 0236af5 commit d856d16

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/pages/startups.tsx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ import Button from '../components/Button/Button';
77
import { Container, Row, Col } from '../lib/Grid';
88
import theme from '../experimental/styles/theme';
99

10-
const {
11-
size,
12-
height,
13-
spacing,
14-
font,
15-
weight,
16-
color,
17-
border,
18-
} = theme.typography.button;
10+
const { size, height, spacing, font, weight, color, border } =
11+
theme.typography.button;
1912
const { mediaQueryMin, colors } = theme;
2013

2114
const pageSettings = {
@@ -387,9 +380,10 @@ const Startups: React.FC = () => {
387380
const [email, setEmail] = useState('');
388381

389382
const canSubmit = name !== '' && email !== '';
390-
const stateChanger = (
391-
setter: React.Dispatch<React.SetStateAction<string>>
392-
) => (e: React.ChangeEvent<HTMLInputElement>) => setter(e.target.value);
383+
const stateChanger =
384+
(setter: React.Dispatch<React.SetStateAction<string>>) =>
385+
(e: React.ChangeEvent<HTMLInputElement>) =>
386+
setter(e.target.value);
393387

394388
return (
395389
<Layout pageSettings={pageSettings}>

0 commit comments

Comments
 (0)