diff --git a/components/contributors/index.js b/components/contributors/index.js deleted file mode 100644 index e69de29b..00000000 diff --git a/components/contributors/styled/index.js b/components/contributors/styled/index.js deleted file mode 100644 index e69de29b..00000000 diff --git a/components/cutoff-image/index.js b/components/cutoff-image/index.js index 4f008813..f227f88e 100644 --- a/components/cutoff-image/index.js +++ b/components/cutoff-image/index.js @@ -1,6 +1,4 @@ // @flow -import * as React from "react"; - import { StyledCutoffImage } from "@components/cutoff-image/styled"; const CutoffImage = StyledCutoffImage; diff --git a/components/footer/index.js b/components/footer/index.js index 7dbd5f5a..fd3f7665 100644 --- a/components/footer/index.js +++ b/components/footer/index.js @@ -1,18 +1,16 @@ -import React from "react"; +// @flow +import * as React from "react"; import Link from "next/link"; import { navigation, NavItems } from "@components/header"; import { StyledFooter } from "@components/footer/styled"; -const Footer = props => ( +const Footer = () => ( - NumFocus + NumFocus diff --git a/components/footer/styled/index.js b/components/footer/styled/index.js index b4381a9c..7ea89dc0 100644 --- a/components/footer/styled/index.js +++ b/components/footer/styled/index.js @@ -1,3 +1,4 @@ +// @flow import styled, { css } from "styled-components"; import { sif, defaultWrapper } from "@common/styled"; diff --git a/components/hero/pattern.js b/components/hero/pattern.js index 07b27195..d1b342cb 100644 --- a/components/hero/pattern.js +++ b/components/hero/pattern.js @@ -1,10 +1,11 @@ -import React from 'react'; -import styled from 'styled-components'; +// @flow +import * as React from "react"; +import styled from "styled-components"; const StyledSVG = styled.svg` display: block; `; -export default ({ width, ...rest }) => ( +export default () => ( ( diff --git a/components/navigation/navigation-right.js b/components/navigation/navigation-right.js index 32a2450b..89878b16 100644 --- a/components/navigation/navigation-right.js +++ b/components/navigation/navigation-right.js @@ -1,5 +1,5 @@ // @flow -import React from "react"; +import * as React from "react"; import Link from "next/link"; export default () => ( diff --git a/components/navigation/social-buttons.js b/components/navigation/social-buttons.js index e2771bcb..33063c8d 100644 --- a/components/navigation/social-buttons.js +++ b/components/navigation/social-buttons.js @@ -1,5 +1,5 @@ // @flow -import React from "react"; +import * as React from "react"; export const SlackButton = () => ( ( -