[ui/header]: fix unauth having flow types still

This commit is contained in:
41666 2019-06-05 10:23:47 -05:00
parent 1c00a15c55
commit 1f05c39f17
No known key found for this signature in database
GPG key ID: DE08FAA8925DC747

View file

@ -1,6 +1,5 @@
// @flow
import * as React from 'react'
import HeaderBarCommon, { Logotype, type CommonProps } from './common'
import HeaderBarCommon, { Logotype, CommonProps } from './common'
import styled from 'styled-components'
import Link from 'next/link'
@ -35,7 +34,7 @@ const LoginButton = styled.a`
}
`
const HeaderBarUnauth: React.StatelessFunctionalComponent<CommonProps> = (props) => (
const HeaderBarUnauth: React.FunctionComponent<CommonProps> = (props) => (
<HeaderBarCommon {...props}>
<>
<Link href='/' prefetch>