Skip to content

Commit

Permalink
fix(MobileNav): rectify types error
Browse files Browse the repository at this point in the history
issue #82
  • Loading branch information
sabertazimi committed Aug 4, 2021
1 parent 686177c commit 61a2102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Header/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { BarsOutlined } from '@ant-design/icons';
import { Routes } from '@config';
import logo from 'images/logo-full.png';

const MobileNav = () => (
<Row className="md:hidden" type="flex" justify="center" align="middle">
const MobileNav = (): JSX.Element => (
<Row className="md:hidden" justify="center" align="middle">
<Col className="flex-container" span={8} offset={8}>
<Link to="/">
<img className="block w-24 h-24" src={logo} alt="Logo" />
<img className="block w-24 h-24" src={logo as string} alt="Logo" />
</Link>
</Col>
<Col className="flex-container" span={8}>
Expand Down

0 comments on commit 61a2102

Please sign in to comment.