Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 3326064

Browse files
committed
imports
1 parent 56c5c01 commit 3326064

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Graph.react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
3-
import {contains, filter, has, isNil, type} from 'ramda';
3+
import {contains, intersection, filter, has, isNil, type, pluck} from 'ramda';
44
/* global Plotly:true */
55

66
const filterEventData = (gd, eventData, event) => {
@@ -79,8 +79,8 @@ export default class PlotlyGraph extends Component {
7979
} else {
8080

8181
let PlotMethod;
82-
if (R.intersection(
83-
R.pluck('type', figure.data),
82+
if (intersection(
83+
pluck('type', figure.data),
8484
['candlestick', 'ohlc']).length
8585
) {
8686
PlotMethod = Plotly.newPlot;

0 commit comments

Comments
 (0)