mirror of
https://github.com/dergigi/boris.git
synced 2025-12-19 07:34:28 +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 (
|
return (
|
||||||
<BookmarkList
|
<BookmarkList
|
||||||
bookmarks={bookmarks}
|
bookmarks={bookmarks}
|
||||||
activeAccount={activeAccount as any}
|
activeAccount={activeAccount || null}
|
||||||
onLogout={onLogout}
|
onLogout={onLogout}
|
||||||
formatUserDisplay={formatUserDisplay}
|
formatUserDisplay={formatUserDisplay}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user