From 77a624a8899a93a1358e500cdb8c77467bd97193 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 9 Jan 2019 20:34:35 +0100 Subject: [PATCH] Removed not needed call to function --- src/visits/SortableBarGraph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/visits/SortableBarGraph.js b/src/visits/SortableBarGraph.js index a76bc5bf..1a30218b 100644 --- a/src/visits/SortableBarGraph.js +++ b/src/visits/SortableBarGraph.js @@ -1,10 +1,10 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { fromPairs, head, identity, keys, pipe, prop, reverse, sortBy, toLower, toPairs, type } from 'ramda'; +import { fromPairs, head, keys, pipe, prop, reverse, sortBy, toLower, toPairs, type } from 'ramda'; import SortingDropdown from '../utils/SortingDropdown'; import GraphCard from './GraphCard'; -const toLowerIfString = (value) => type(value) === 'String' ? toLower(value) : identity(value); +const toLowerIfString = (value) => type(value) === 'String' ? toLower(value) : value; export default class SortableBarGraph extends React.Component { static propTypes = {