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 = ({
) ) : (