Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions client/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { AiOutlineClose } from "react-icons/ai";

import logo from "../../images/logo.png";

const NavBarItem = ({ title, classprops }) => (
<li className={`mx-4 cursor-pointer ${classprops}`}>{title}</li>
const NavBarItem = ({ title, classProps }) => (
<li className={`mx-4 cursor-pointer ${classProps}`}>{title}</li>
);

const Navbar = () => {
Expand Down Expand Up @@ -38,7 +38,7 @@ const Navbar = () => {
>
<li className="text-xl w-full my-2"><AiOutlineClose onClick={() => setToggleMenu(false)} /></li>
{["Market", "Exchange", "Tutorials", "Wallets"].map(
(item, index) => <NavBarItem key={item + index} title={item} classprops="my-2 text-lg" />,
(item, index) => <NavBarItem key={item + index} title={item} classProps="my-2 text-lg" />,
)}
</ul>
)}
Expand Down