Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
remove partialRight
Browse files Browse the repository at this point in the history
  • Loading branch information
boygirl committed Apr 20, 2018
1 parent 35ff303 commit 9fbc607
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/victory-pie.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2] }]*/
import React from "react";
import PropTypes from "prop-types";
import { partialRight } from "lodash";
import {
addEvents, Helpers, Data, PropTypes as CustomPropTypes, Slice,
VictoryContainer, VictoryLabel, VictoryTheme
Expand Down Expand Up @@ -160,7 +159,7 @@ class VictoryPie extends React.Component {
theme: VictoryTheme.grayscale
};

static getBaseProps = partialRight(getBaseProps, fallbackProps);
static getBaseProps = (props) => getBaseProps(props, fallbackProps);
static getData = Data.getData.bind(Data);
static expectedComponents = [
"dataComponent", "labelComponent", "groupComponent", "containerComponent"
Expand Down

0 comments on commit 9fbc607

Please sign in to comment.