diff options
Diffstat (limited to 'subprojects/frontend/src/editor')
-rw-r--r-- | subprojects/frontend/src/editor/EditorPane.tsx | 2 | ||||
-rw-r--r-- | subprojects/frontend/src/editor/EditorStore.ts | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/EditorPane.tsx b/subprojects/frontend/src/editor/EditorPane.tsx index 199a8e1d..0db4b892 100644 --- a/subprojects/frontend/src/editor/EditorPane.tsx +++ b/subprojects/frontend/src/editor/EditorPane.tsx | |||
@@ -7,7 +7,7 @@ import useMediaQuery from '@mui/material/useMediaQuery'; | |||
7 | import { observer } from 'mobx-react-lite'; | 7 | import { observer } from 'mobx-react-lite'; |
8 | import React, { useState } from 'react'; | 8 | import React, { useState } from 'react'; |
9 | 9 | ||
10 | import { useRootStore } from '../RootStore'; | 10 | import { useRootStore } from '../RootStoreProvider'; |
11 | 11 | ||
12 | import ConnectionStatusNotification from './ConnectionStatusNotification'; | 12 | import ConnectionStatusNotification from './ConnectionStatusNotification'; |
13 | import EditorArea from './EditorArea'; | 13 | import EditorArea from './EditorArea'; |
diff --git a/subprojects/frontend/src/editor/EditorStore.ts b/subprojects/frontend/src/editor/EditorStore.ts index d13f644c..4ee24779 100644 --- a/subprojects/frontend/src/editor/EditorStore.ts +++ b/subprojects/frontend/src/editor/EditorStore.ts | |||
@@ -263,4 +263,8 @@ export default class EditorStore { | |||
263 | this.client.formatText(); | 263 | this.client.formatText(); |
264 | return true; | 264 | return true; |
265 | } | 265 | } |
266 | |||
267 | dispose(): void { | ||
268 | this.client.dispose(); | ||
269 | } | ||
266 | } | 270 | } |