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
client/options/other: fix an issue in HTML import tags option
Adorian Doran643666eef308
diff --git a/apps/client/src/widgets/type_widgets/options/other.tsx b/apps/client/src/widgets/type_widgets/options/other.tsxindex 65d1b47a4b..00d1721408 100644--- a/apps/client/src/widgets/type_widgets/options/other.tsx+++ b/apps/client/src/widgets/type_widgets/options/other.tsx@@ -1,7 +1,6 @@import "./other.css";import { SANITIZER_DEFAULT_ALLOWED_TAGS } from "@triliumnext/commons";-import { useMemo } from "preact/hooks";import { t } from "../../../services/i18n";import search from "../../../services/search";@@ -237,10 +236,7 @@ function RevisionSettings() {function HtmlImportTags() {const [ allowedHtmlTags, setAllowedHtmlTags ] = useTriliumOptionJson<readonly string[]>("allowedHtmlTags");-- const parsedValue = useMemo(() => {- return allowedHtmlTags.join(" ");- }, allowedHtmlTags);+ const parsedValue = allowedHtmlTags.join(" ");return (<div className="options-section">