We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 937f588 commit f11a2ddCopy full SHA for f11a2dd
src/components/AssistantView.tsx
@@ -1,4 +1,5 @@
1
-import Plot from 'react-plotly.js';
+import PlotModule from 'react-plotly.js';
2
+const Plot: typeof PlotModule = ((PlotModule as any).__esModule === true) ? (PlotModule as any).default : PlotModule
3
import React from 'react'
4
import ReactDOM from 'react-dom';
5
0 commit comments