File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
apps/client/src/widgets/type_widgets/options Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ function RevisionSnapshotInterval() {
154154 < FormText >
155155 < Trans
156156 i18nKey = "revisions_snapshot_interval.note_revisions_snapshot_description"
157- components = { { doc : < a href = "https://triliumnext.github.io/Docs/Wiki/note-revisions.html" class = "external" /> } }
157+ components = { { doc : < a href = "https://triliumnext.github.io/Docs/Wiki/note-revisions.html" class = "external" /> as React . ReactElement } }
158158 />
159159 </ FormText >
160160 < FormGroup name = "revision-snapshot-time-interval" label = { t ( "revisions_snapshot_interval.snapshot_time_interval_label" ) } >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { Themes } from "@triliumnext/highlightjs";
1212import { ensureMimeTypesForHighlighting , loadHighlightingTheme } from "../../../services/syntax_highlight" ;
1313import { normalizeMimeTypeForCKEditor } from "@triliumnext/commons" ;
1414import { getHtml } from "../../react/RawHtml" ;
15- import { CSSProperties } from "preact/compat" ;
15+ import type { CSSProperties } from "preact/compat" ;
1616import FormText from "../../react/FormText" ;
1717import FormTextBox , { FormTextBoxWithUnit } from "../../react/FormTextBox" ;
1818import CheckboxList from "./components/CheckboxList" ;
@@ -294,8 +294,8 @@ function DateTimeFormatOptions() {
294294 < Trans
295295 i18nKey = "custom_date_time_format.description"
296296 components = { {
297- shortcut : < KeyboardShortcut actionName = "insertDateTimeToText" /> ,
298- doc : < a href = "https://day.js.org/docs/en/display/format" target = "_blank" rel = "noopener noreferrer" />
297+ shortcut : < KeyboardShortcut actionName = "insertDateTimeToText" /> as React . ReactElement ,
298+ doc : < a href = "https://day.js.org/docs/en/display/format" target = "_blank" rel = "noopener noreferrer" /> as React . ReactElement
299299 } }
300300 />
301301 </ FormText >
You can’t perform that action at this time.
0 commit comments