Skip to content

Commit

Permalink
Hide lists temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Jan 28, 2024
1 parent 71e3bf0 commit d3fe506
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
18 changes: 9 additions & 9 deletions src/components/dataDisplay/postEmbed/ListEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export default function ListEmbed(props: Props) {
return (
<>
{depth < 1 && (
<Link
href={{
pathname: `/dashboard/user/${list.creator.handle}/lists/${encodeURIComponent(formattedUri)}`,
query: { uri: list.uri },
}}
onClick={(e) => {
e.stopPropagation();
}}
<div
// href={{
// pathname: `/dashboard/user/${list.creator.handle}/lists/${encodeURIComponent(formattedUri)}`,
// query: { uri: list.uri },
// }}
// onClick={(e) => {
// e.stopPropagation();
// }}
className="mt-2 block cursor-pointer rounded-xl border bg-white p-3 hover:brightness-95"
>
<div className="flex items-start gap-2">
Expand All @@ -44,7 +44,7 @@ export default function ListEmbed(props: Props) {
<p className="break-all">{list.description}</p>
</div>
</div>
</Link>
</div>
)}
</>
);
Expand Down
6 changes: 2 additions & 4 deletions src/components/navigational/appBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,13 @@ export default function AppBar() {
title="Feeds"
isActive={pathname === "/dashboard/feeds"}
/>

<NavItem
{/* <NavItem
href="/dashboard/lists"
icon={<HiOutlineClipboardList className="text-2xl md:text-3xl" />}
activeIcon={<HiClipboardList className="text-2xl md:text-3xl" />}
title="Lists"
isActive={pathname === "/dashboard/lists"}
/>

/> */}
<NavItem
href="/dashboard/notifications"
icon={<FaRegBell className="text-2xl md:text-3xl" />}
Expand Down
4 changes: 2 additions & 2 deletions src/components/navigational/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ export default function Navbar() {
isActive={pathname === "/dashboard/feeds"}
className="sm:m-0"
/>
<NavItem
{/* <NavItem
href="/dashboard/lists"
icon={<HiOutlineClipboardList className="text-2xl md:text-3xl" />}
activeIcon={<HiClipboardList className="text-2xl md:text-3xl" />}
title="Lists"
isActive={pathname === "/dashboard/lists"}
/>
/> */}
<NavItem
href="/dashboard/notifications"
icon={<FaRegBell className="text-2xl md:text-3xl" />}
Expand Down
1 change: 0 additions & 1 deletion src/containers/lists/ListContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default function ListContainer(props: Props) {

return (
<section>
<p>{uri}</p>
<ListHeader list={uri} />
<div
role="tablist"
Expand Down

0 comments on commit d3fe506

Please sign in to comment.