Skip to content

Build your personal knowledge base with Trilium Notes

Update apps/client/src/widgets/react/FormToggleButton.tsx

BeatLinkdc9c0f7c3091
diff --git a/apps/client/src/widgets/react/FormToggleButton.tsx b/apps/client/src/widgets/react/FormToggleButton.tsx
index 48e2c26829..a04e49953b 100644
--- a/apps/client/src/widgets/react/FormToggleButton.tsx
+++ b/apps/client/src/widgets/react/FormToggleButton.tsx
@@ -39,7 +39,7 @@ export default function FormToggleButton({ label, icon, currentValue, onChange,
title={title}
onClick={() => onChange(!currentValue)}
>
- {icon && <Icon icon={`bx ${icon}`} />}
+ {icon && <Icon icon={icon} />}
{label}
</button>
);