diff options
Diffstat (limited to 'subprojects/frontend/src/WorkArea.tsx')
-rw-r--r-- | subprojects/frontend/src/WorkArea.tsx | 12 |
1 files changed, 2 insertions, 10 deletions
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 @@ | |||
7 | import { observer } from 'mobx-react-lite'; | 7 | import { observer } from 'mobx-react-lite'; |
8 | 8 | ||
9 | import DirectionalSplitPane from './DirectionalSplitPane'; | 9 | import DirectionalSplitPane from './DirectionalSplitPane'; |
10 | import ModelWorkArea from './ModelWorkArea'; | ||
10 | import { useRootStore } from './RootStoreProvider'; | 11 | import { useRootStore } from './RootStoreProvider'; |
11 | import EditorPane from './editor/EditorPane'; | 12 | import EditorPane from './editor/EditorPane'; |
12 | import GraphPane from './graph/GraphPane'; | ||
13 | import TablePane from './table/TablePane'; | ||
14 | 13 | ||
15 | export default observer(function WorkArea(): JSX.Element { | 14 | export default observer(function WorkArea(): JSX.Element { |
16 | const { themeStore } = useRootStore(); | 15 | const { themeStore } = useRootStore(); |
@@ -18,14 +17,7 @@ export default observer(function WorkArea(): JSX.Element { | |||
18 | return ( | 17 | return ( |
19 | <DirectionalSplitPane | 18 | <DirectionalSplitPane |
20 | primary={<EditorPane />} | 19 | primary={<EditorPane />} |
21 | secondary={ | 20 | secondary={<ModelWorkArea />} |
22 | <DirectionalSplitPane | ||
23 | primary={<GraphPane />} | ||
24 | secondary={<TablePane />} | ||
25 | primaryOnly={!themeStore.showTable} | ||
26 | secondaryOnly={!themeStore.showGraph} | ||
27 | /> | ||
28 | } | ||
29 | primaryOnly={!themeStore.showGraph && !themeStore.showTable} | 21 | primaryOnly={!themeStore.showGraph && !themeStore.showTable} |
30 | secondaryOnly={!themeStore.showCode} | 22 | secondaryOnly={!themeStore.showCode} |
31 | /> | 23 | /> |