mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-26 04:29:11 +00:00
[ui/header]: fix unauth having flow types still
This commit is contained in:
parent
1c00a15c55
commit
1f05c39f17
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
// @flow
|
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import HeaderBarCommon, { Logotype, type CommonProps } from './common'
|
import HeaderBarCommon, { Logotype, CommonProps } from './common'
|
||||||
import styled from 'styled-components'
|
import styled from 'styled-components'
|
||||||
import Link from 'next/link'
|
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}>
|
<HeaderBarCommon {...props}>
|
||||||
<>
|
<>
|
||||||
<Link href='/' prefetch>
|
<Link href='/' prefetch>
|
||||||
|
|
Loading…
Add table
Reference in a new issue