Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Jan 28, 2024
2 parents 4821c53 + d3fe506 commit 68b4376
Show file tree
Hide file tree
Showing 4 changed files with 16 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
4 changes: 3 additions & 1 deletion src/containers/lists/ListMembersContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export default function ListMembersContainer(props: Props) {
)}
{isFetchingNextPage && <LoadingSpinner />}
{error && (
<FeedAlert variant="badResponse" message="Something went wrong" />
<div className="border-t">
<FeedAlert variant="badResponse" message="Something went wrong" />
</div>
)}
<div ref={ref} />
</section>
Expand Down

0 comments on commit 68b4376

Please sign in to comment.