Skip to content

Commit

Permalink
minor thing
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Nov 10, 2024
1 parent db56b3c commit 00a6bdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/nav/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Sidebar = ({ show, onClose }: SidebarProps) => {
<nav>
<ul className="space-y-1">
{featuredListings && featuredListings.length > 0 && (
<>
<div className="flex flex-col gap-2 py-2">
{featuredListings.map((listing) => (
<SidebarItem
key={listing.id}
Expand All @@ -77,10 +77,10 @@ const Sidebar = ({ show, onClose }: SidebarProps) => {
}
/>
))}
<div className="border-t border-gray-1 my-2"></div>
</>
<div className="border-t border-gray-1"></div>
</div>
)}
<div className="flex flex-col gap-2 py-4">
<div className="flex flex-col gap-2 py-2">
{navItems.map((item) => (
<SidebarItem
key={item.name}
Expand All @@ -92,7 +92,7 @@ const Sidebar = ({ show, onClose }: SidebarProps) => {
</div>
<div className="border-t border-gray-1"></div>
{isAuthenticated ? (
<div className="flex flex-col gap-2 py-4">
<div className="flex flex-col gap-2 py-2">
<SidebarItem
title="Account"
onClick={() => handleItemClick("/account")}
Expand Down

0 comments on commit 00a6bdc

Please sign in to comment.