Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Feb 7, 2024
2 parents d4fe1cc + 999aa55 commit 2b31243
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/app/dashboard/feeds/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Search from "@/components/filter/search/Search";
import Link from "next/link";
import { Suspense } from "react";
import { BiCog } from "react-icons/bi";
import { FaSlidersH } from "react-icons/fa";

interface Props {
searchParams: {
Expand All @@ -23,7 +24,7 @@ export default function Page(props: Props) {
<div className="mx-3 mb-2 flex items-center justify-between md:mx-0">
<h2 className="text-2xl font-semibold">My Feeds</h2>
<Link href="/dashboard/settings/my-feeds">
<BiCog className="text-2xl text-neutral-500 hover:text-neutral-700" />
<FaSlidersH className="text-xl text-neutral-500 hover:text-neutral-700" />
</Link>
</div>
<Suspense fallback={<SavedFeedListSkeleton />}>
Expand Down
4 changes: 1 addition & 3 deletions src/components/navigational/topBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

import { useScrollContext } from "@/app/providers/scroll";
import Button from "@/components/actions/button/Button";
import SignOut from "@/components/actions/signOut/SignOut";
import Avatar from "@/components/dataDisplay/avatar/Avatar";
import { ProfileViewDetailed } from "@atproto/api/dist/client/types/app/bsky/actor/defs";
import Image from "next/image";
import Link from "next/link";
import NavItem from "../navbar/NavItem";
import { BiCog, BiSolidCog } from "react-icons/bi";
import { BiCog } from "react-icons/bi";

interface Props {
profile: ProfileViewDetailed;
Expand Down
7 changes: 5 additions & 2 deletions src/containers/posts/PostContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import FeedPost from "@/components/contentDisplay/feedPost/FeedPost";
import { AppBskyFeedDefs } from "@atproto/api";
import { PostView } from "@atproto/api/dist/client/types/app/bsky/feed/defs";
import { ContentFilterResult } from "../../../types/feed";
import { memo } from "react";

interface Props {
post: AppBskyFeedDefs.FeedViewPost;
isReply?: boolean;
filter: ContentFilterResult;
}

export default function PostContainer(props: Props) {
const PostContainer = memo(function PostContainer(props: Props) {
const { post, isReply, filter } = props;
const parent = {
post: post?.reply?.parent as PostView,
Expand All @@ -37,4 +38,6 @@ export default function PostContainer(props: Props) {
}
</div>
);
}
});

export default PostContainer;

0 comments on commit 2b31243

Please sign in to comment.