chore: fix type check

This commit is contained in:
Stephen Zhou
2025-05-29 10:42:07 +08:00
parent 852fb1d8fa
commit ef6ad2a7f2
2 changed files with 2 additions and 2 deletions
@@ -155,7 +155,8 @@ export const useEntryActions = ({
const isContentContainsHTMLTags = doesTextContainHTML(entry?.entries.content)
const isShowSourceContent = useShowSourceContent()
const isShowAISummaryAuto = useShowAISummaryAuto(entry)
const summarySetting = useEntry(entryId, (state) => state.settings?.summary)
const isShowAISummaryAuto = useShowAISummaryAuto(summarySetting)
const isShowAISummaryOnce = useShowAISummaryOnce()
const isShowAITranslationAuto = useShowAITranslationAuto(entry)
const isShowAITranslationOnce = useShowAITranslationOnce()
@@ -108,7 +108,6 @@ export const parseHtml = (
markInlineImage(node)
return createElement("i", props, props.children)
},
// @ts-expect-error
math: Math,
hr: ({ node, ...props }) =>
createElement("hr", {