Skip to content

Commit a9cbba6

Browse files
committed
fix markdown view tsc
1 parent 00831af commit a9cbba6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cloud/components/MarkdownView/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ const MarkdownView = ({
375375
sendToElectron,
376376
updateContent,
377377
content,
378+
showLinkOpenWarning,
378379
])
379380

380381
const processorRef = useRef(markdownProcessor)
@@ -412,7 +413,7 @@ const MarkdownView = ({
412413
onRenderRef.current()
413414
}
414415
} catch (err) {
415-
setState({ type: 'error', err })
416+
setState({ type: 'error', err: err as any })
416417
}
417418
},
418419
100,

0 commit comments

Comments
 (0)