Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(client): fix typecheck issue
Elian Doranee4e69004b59
diff --git a/apps/client/src/widgets/type_widgets/WebView.tsx b/apps/client/src/widgets/type_widgets/WebView.tsxindex 4d45295e87..1a7e7d77db 100644--- a/apps/client/src/widgets/type_widgets/WebView.tsx+++ b/apps/client/src/widgets/type_widgets/WebView.tsx@@ -36,7 +36,7 @@ export default function WebView({ note, ntxId }: TypeWidgetProps) {}function DesktopWebView({ src, ntxId }: { src: string, ntxId: string | null | undefined }) {- const webviewRef = useRef<HTMLWebViewElement>(null);+ const webviewRef = useRef<HTMLElement>(null);useEffect(() => {const webview = webviewRef.current;