chore: fix type check
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user