There was an error while loading. Please reload this page.
1 parent f18336b commit 0b9658dCopy full SHA for 0b9658d
1 file changed
app/src/components/Layout/ContentView.tsx
@@ -1,6 +1,6 @@
1
import * as React from 'react'
2
import ChartPanel from '../ChartPanel'
3
-import ReactSplitPane from 'react-split-pane'
+import ReactSplitPaneImport from 'react-split-pane'
4
import Tree from '../Tree'
5
import { AppState } from '../../reducers'
6
import { ChartParameters } from '../../reducers/Charts'
@@ -9,6 +9,9 @@ import { List } from 'immutable'
9
import { Sidebar } from '../Sidebar'
10
import { useResizeDetector } from 'react-resize-detector'
11
12
+// Type cast to any to work around React 18 compatibility issues with react-split-pane 0.1.x
13
+const ReactSplitPane = ReactSplitPaneImport as any
14
+
15
interface Props {
16
heightProperty: any
17
paneDefaults: any
0 commit comments