diff --git a/packages/app/src/Pages/Profile/ProfilePage.tsx b/packages/app/src/Pages/Profile/ProfilePage.tsx index 5cad089d..86a86227 100644 --- a/packages/app/src/Pages/Profile/ProfilePage.tsx +++ b/packages/app/src/Pages/Profile/ProfilePage.tsx @@ -23,12 +23,12 @@ import { BookMarksTab, FollowersTab, FollowsTab, + ProfileNotesTab, RelaysTab, ZapsProfileTab, } from "@/Pages/Profile/ProfileTabComponents"; import ProfileTabSelectors from "@/Pages/Profile/ProfileTabSelectors"; import { ProfileTabType } from "@/Pages/Profile/ProfileTabType"; -import { NotesTab } from "@/Pages/Root/NotesTab"; import { parseId, unwrap } from "@/Utils"; import { EmailRegex } from "@/Utils/Const"; @@ -113,7 +113,7 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) { switch (tab.value) { case ProfileTabType.NOTES: - return ; + return ; case ProfileTabType.ZAPS: { return ; } diff --git a/packages/app/src/Pages/Profile/ProfileTabComponents.tsx b/packages/app/src/Pages/Profile/ProfileTabComponents.tsx index 6c69760e..007e59be 100644 --- a/packages/app/src/Pages/Profile/ProfileTabComponents.tsx +++ b/packages/app/src/Pages/Profile/ProfileTabComponents.tsx @@ -51,7 +51,7 @@ export function BookMarksTab({ id }: { id: HexKey }) { return ; } -export function NotesTab({ id, relays, isMe }: { id: HexKey; relays?: Array; isMe: boolean }) { +export function ProfileNotesTab({ id, relays, isMe }: { id: HexKey; relays?: Array; isMe: boolean }) { const pinned = usePinList(id); const options = useMemo(() => ({ showTime: false, showPinned: true, canUnpin: isMe }), [isMe]); return (