diff --git a/src/app/dashboard/feeds/page.tsx b/src/app/dashboard/feeds/page.tsx index e1b10166..39fa1a00 100644 --- a/src/app/dashboard/feeds/page.tsx +++ b/src/app/dashboard/feeds/page.tsx @@ -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: { @@ -23,7 +24,7 @@ export default function Page(props: Props) {

My Feeds

- +
}> diff --git a/src/components/navigational/topBar/TopBar.tsx b/src/components/navigational/topBar/TopBar.tsx index 224469e7..ec8135c9 100644 --- a/src/components/navigational/topBar/TopBar.tsx +++ b/src/components/navigational/topBar/TopBar.tsx @@ -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; diff --git a/src/containers/posts/PostContainer.tsx b/src/containers/posts/PostContainer.tsx index 613ec96b..14de1ed8 100644 --- a/src/containers/posts/PostContainer.tsx +++ b/src/containers/posts/PostContainer.tsx @@ -4,6 +4,7 @@ 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; @@ -11,7 +12,7 @@ interface Props { 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, @@ -37,4 +38,6 @@ export default function PostContainer(props: Props) { } ); -} +}); + +export default PostContainer;