diff --git a/src/renderer/src/components/feed-column/index.tsx b/src/renderer/src/components/feed-column/index.tsx index 08393879d5..6947979673 100644 --- a/src/renderer/src/components/feed-column/index.tsx +++ b/src/renderer/src/components/feed-column/index.tsx @@ -91,7 +91,7 @@ export function FeedColumn({ {views.map((item, index) => (
{ setActive(index) setActivedList?.({ diff --git a/src/renderer/src/pages/(main)/profile/index.tsx b/src/renderer/src/pages/(main)/profile/index.tsx index c6edb6fe43..10b996e36f 100644 --- a/src/renderer/src/pages/(main)/profile/index.tsx +++ b/src/renderer/src/pages/(main)/profile/index.tsx @@ -6,6 +6,7 @@ import { AvatarImage, } from "@renderer/components/ui/avatar" import { views } from "@renderer/lib/constants" +import { cn } from "@renderer/lib/utils" export function Component() { const { data: session } = useSession() @@ -25,9 +26,11 @@ export function Component() {
{views.map((view, index) => ( <> -
- {view.icon} - {view.name} +
+ + {view.icon} + + {view.name}