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/settings/ui-performance-settings: remove form groups
Adorian Doran1d0503d0e42b
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsxindex 9ac51b6131..a6f5a77c6a 100644--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx@@ -252,24 +252,20 @@ function Performance() {const [ backdropEffectsEnabled, setBackdropEffectsEnabled ] = useTriliumOptionBool("backdropEffectsEnabled");return <OptionsSection title={t("ui-performance.title")}>- <FormGroup name="motion-enabled">- <FormCheckbox- label={t("ui-performance.enable-motion")}- currentValue={motionEnabled} onChange={setMotionEnabled}- />- </FormGroup>- <FormGroup name="shadows-enabled">- <FormCheckbox- label={t("ui-performance.enable-shadows")}- currentValue={shadowsEnabled} onChange={setShadowsEnabled}- />- </FormGroup>- <FormGroup name="backdrop-effects-enabled">- <FormCheckbox- label={t("ui-performance.enable-backdrop-effects")}- currentValue={backdropEffectsEnabled} onChange={setBackdropEffectsEnabled}- />- </FormGroup>+ <FormCheckbox+ label={t("ui-performance.enable-motion")}+ currentValue={motionEnabled} onChange={setMotionEnabled}+ />++ <FormCheckbox+ label={t("ui-performance.enable-shadows")}+ currentValue={shadowsEnabled} onChange={setShadowsEnabled}+ />++ <FormCheckbox+ label={t("ui-performance.enable-backdrop-effects")}+ currentValue={backdropEffectsEnabled} onChange={setBackdropEffectsEnabled}+ /></OptionsSection>}