mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
Removed not needed call to function
This commit is contained in:
parent
40892f3e91
commit
77a624a889
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
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 SortingDropdown from '../utils/SortingDropdown';
|
||||||
import GraphCard from './GraphCard';
|
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 {
|
export default class SortableBarGraph extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
|
|
Loading…
Reference in a new issue