mirror of
https://github.com/dergigi/boris.git
synced 2025-12-24 10:04:19 +01:00
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.
This commit is contained in:
@@ -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<MeProps> = ({
|
||||
relayPool,
|
||||
activeTab: propActiveTab,
|
||||
pubkey: propPubkey,
|
||||
bookmarks,
|
||||
bookmarksLoading
|
||||
bookmarks
|
||||
}) => {
|
||||
const activeAccount = Hooks.useActiveAccount()
|
||||
const navigate = useNavigate()
|
||||
|
||||
Reference in New Issue
Block a user