1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

fix: lint

This commit is contained in:
Ivar Conradi Østhus 2020-02-27 23:12:49 +01:00
parent 73f2cebc7a
commit 877c24dc40
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { debounce } from "debounce";
import { debounce } from 'debounce';
import { Link } from 'react-router-dom';
import { Icon, FABButton, Textfield, Menu, MenuItem, Card, CardActions, List } from 'react-mdl';
import Feature from './feature-list-item-component';
@ -26,8 +26,8 @@ export default class FeatureListComponent extends React.Component {
super();
this.state = {
filter: props.settings.filter,
updateFilter: debounce(props.updateSetting.bind(this, 'filter'), 200)
}
updateFilter: debounce(props.updateSetting.bind(this, 'filter'), 250),
};
}
componentDidMount() {
@ -45,7 +45,7 @@ export default class FeatureListComponent extends React.Component {
setFilter(v) {
const value = typeof v === 'string' ? v : '';
this.setState({ filter: value });
this.state.updateFilter(value)
this.state.updateFilter(value);
}
setSort(v) {