mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
fix: resolve linting and type checking issues
- Fixed TypeScript error by properly handling undefined activeAccount - Removed unnecessary 'as any' type assertion - All linting rules now pass with 0 warnings - TypeScript compilation passes without errors
This commit is contained in:
@@ -90,7 +90,7 @@ const Bookmarks: React.FC<BookmarksProps> = ({ relayPool, onLogout }) => {
|
||||
return (
|
||||
<BookmarkList
|
||||
bookmarks={bookmarks}
|
||||
activeAccount={activeAccount as any}
|
||||
activeAccount={activeAccount || null}
|
||||
onLogout={onLogout}
|
||||
formatUserDisplay={formatUserDisplay}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user