From ce2ccd54b34ee7d83eb756a35d8d885a5499a8f7 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 5 Oct 2025 22:12:07 +0100 Subject: [PATCH] fix(lint): resolve all linting and TypeScript errors --- src/App.tsx | 2 +- src/components/BookmarkList.tsx | 2 -- src/components/ContentPanel.tsx | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index aa3e7ca8..45e1d3d5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -126,7 +126,7 @@ function App() { relayPool={relayPool} onLogout={() => { if (accountManager) { - accountManager.setActive(null) + accountManager.setActive(undefined as never) localStorage.removeItem('active') console.log('Logged out') } diff --git a/src/components/BookmarkList.tsx b/src/components/BookmarkList.tsx index d907f57b..f0e42d4b 100644 --- a/src/components/BookmarkList.tsx +++ b/src/components/BookmarkList.tsx @@ -64,8 +64,6 @@ export const BookmarkList: React.FC = ({ = ({ return sourceHtml }, [html, renderedHtml, markdown, relevantHighlights, showUnderlines, highlightStyle]) - // Check if we need to wait for HTML conversion - const needsHtmlConversion = markdown && !renderedHtml // Attach click handlers to highlight marks useEffect(() => { @@ -191,7 +189,7 @@ const ContentPanel: React.FC = ({
) ) : (