Skip to content

Build your personal knowledge base with Trilium Notes

chore(note_detail): get code editor to show

Elian Doran3d8289d394c3
diff --git a/apps/client/src/widgets/type_widgets/SqlConsole.tsx b/apps/client/src/widgets/type_widgets/SqlConsole.tsx
index 44a0023803..dcb025ad51 100644
--- a/apps/client/src/widgets/type_widgets/SqlConsole.tsx
+++ b/apps/client/src/widgets/type_widgets/SqlConsole.tsx
@@ -1,5 +1,11 @@
-export default function SqlConsole() {
+import SplitEditor from "./helpers/SplitEditor";
+import { TypeWidgetProps } from "./type_widget";
+
+export default function SqlConsole(props: TypeWidgetProps) {
return (
- <div>SQL Console Widget</div>
+ <SplitEditor
+ noteType="code"
+ {...props}
+ />
);
}