diff --git a/landing/mobile-nav.react.js b/landing/mobile-nav.react.js index 19b89ed1f..8315f3036 100644 --- a/landing/mobile-nav.react.js +++ b/landing/mobile-nav.react.js @@ -1,91 +1,91 @@ // @flow import { faTwitter, faGithub } from '@fortawesome/free-brands-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import classNames from 'classnames'; import * as React from 'react'; import { NavLink } from 'react-router-dom'; import type { SetState } from 'lib/types/hook-types.js'; import css from './mobile-nav.css'; import typography from './typography.css'; type Props = { +showMobileNav: boolean, +setShowMobileNav: SetState, }; function MobileNav(props: Props): React.Node { const { showMobileNav, setShowMobileNav } = props; const navLinkClassName = classNames([typography.paragraph2, css.tab]); const mobileNavClassName = classNames({ [css.mobileNav]: true, [css.activeMobileNav]: showMobileNav, }); const onClickTab = React.useCallback(() => { setShowMobileNav(false); }, [setShowMobileNav]); return ( ); } export default MobileNav;