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:
Gigi
2025-10-02 09:38:32 +02:00
parent 465278742e
commit a7cfc802d1

View File

@@ -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}
/>