From a2a4696fdbd6440269d576aeba7b25b2ea40d9bf Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Tue, 12 Sep 2023 21:59:50 +0200
Subject: feat: connect model generator to UI

---
 subprojects/frontend/src/WorkArea.tsx | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

(limited to 'subprojects/frontend/src/WorkArea.tsx')

diff --git a/subprojects/frontend/src/WorkArea.tsx b/subprojects/frontend/src/WorkArea.tsx
index adb29a50..a1fbf7dc 100644
--- a/subprojects/frontend/src/WorkArea.tsx
+++ b/subprojects/frontend/src/WorkArea.tsx
@@ -7,10 +7,9 @@
 import { observer } from 'mobx-react-lite';
 
 import DirectionalSplitPane from './DirectionalSplitPane';
+import ModelWorkArea from './ModelWorkArea';
 import { useRootStore } from './RootStoreProvider';
 import EditorPane from './editor/EditorPane';
-import GraphPane from './graph/GraphPane';
-import TablePane from './table/TablePane';
 
 export default observer(function WorkArea(): JSX.Element {
   const { themeStore } = useRootStore();
@@ -18,14 +17,7 @@ export default observer(function WorkArea(): JSX.Element {
   return (
     <DirectionalSplitPane
       primary={<EditorPane />}
-      secondary={
-        <DirectionalSplitPane
-          primary={<GraphPane />}
-          secondary={<TablePane />}
-          primaryOnly={!themeStore.showTable}
-          secondaryOnly={!themeStore.showGraph}
-        />
-      }
+      secondary={<ModelWorkArea />}
       primaryOnly={!themeStore.showGraph && !themeStore.showTable}
       secondaryOnly={!themeStore.showCode}
     />
-- 
cgit v1.2.3-70-g09d2

