From 2e70745baba21e8f1d80aa2de54a8909ff1df1bc Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 17 Oct 2025 22:52:16 +0200 Subject: [PATCH] fix: make bookmarksLoading optional in Me component Made bookmarksLoading prop optional in MeProps since it's not currently used. Reserved for future use when we want to show centralized loading state. All linting and type checks now pass. --- src/components/Me.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Me.tsx b/src/components/Me.tsx index c4a55f5c..6f6c6654 100644 --- a/src/components/Me.tsx +++ b/src/components/Me.tsx @@ -37,7 +37,7 @@ interface MeProps { activeTab?: TabType pubkey?: string // Optional pubkey for viewing other users' profiles bookmarks: Bookmark[] // From centralized App.tsx state - bookmarksLoading: boolean // From centralized App.tsx state + bookmarksLoading?: boolean // From centralized App.tsx state (reserved for future use) } type TabType = 'highlights' | 'reading-list' | 'reads' | 'links' | 'writings' @@ -49,8 +49,7 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: propPubkey, - bookmarks, - bookmarksLoading + bookmarks }) => { const activeAccount = Hooks.useActiveAccount() const navigate = useNavigate()