Skip to content

Commit

Permalink
Fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrobinson committed May 10, 2018
1 parent 11a7d2a commit ed5ab8b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ const HEADER_DRAG_THRESHOLD = 5;
// HACK: used to get react-draggable to reset after a drag
let DRAG_COUNTER = 0;

import type { VisualizationProps } from "metabase/meta/types/Visualization";
import type {
VisualizationProps,
ClickObject,
} from "metabase/meta/types/Visualization";

function pickRowsToMeasure(rows, columnIndex, count = 10) {
const rowIndexes = [];
Expand Down Expand Up @@ -271,7 +274,7 @@ export default class TableInteractive extends Component {
});
}

visualizationIsClickable(clicked) {
visualizationIsClickable(clicked: ?ClickObject) {
const { onVisualizationClick, visualizationIsClickable } = this.props;
const { dragColIndex } = this.state;
return (
Expand Down

0 comments on commit ed5ab8b

Please sign in to comment.