Skip to content

Commit a0a2ac4

Browse files
committed
mobile menu:built the mobile menu
1 parent 4045472 commit a0a2ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nav.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ function Nav({ toggleValue, Toggling }) {
4242
{toggleValue ? (
4343
<div className="mobile-menu_list">
4444
<Link to="/">
45-
<p>Home</p>
45+
<p onClick={Toggling}>Home</p>
4646
</Link>
4747
<Link to="/place">
48-
<p>Place to stay</p>
48+
<p onClick={Toggling}>Place to stay</p>
4949
</Link>
5050
<p>NFTs</p>
5151
<p>Community</p>

0 commit comments

Comments
 (0)