forked from geosolutions-it/MapStore2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
geosolutions-it#4297 Use suspense for plotly (geosolutions-it#6622)
- Loading branch information
1 parent
f0dd856
commit db578e5
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
// customizable method: use your own `Plotly` object | ||
import createPlotlyComponent from 'react-plotly.js/factory'; | ||
import Plotly from 'plotly.js-cartesian-dist'; | ||
export const Plot = createPlotlyComponent(Plotly); | ||
const Plot = createPlotlyComponent(Plotly); | ||
export default Plot; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters