remove no sketches warning from sketch list

This commit is contained in:
Cassie Tarakajian 2017-01-06 13:09:32 -05:00
parent 5e4b076b93
commit 3fc4ee897d

View file

@ -21,13 +21,6 @@ class SketchList extends React.Component {
document.getElementById('sketchlist').focus();
}
componentDidUpdate() {
if (this.props.sketches.length === 0) {
this.props.setToastText('No sketches were found.');
this.props.showToast(3000);
}
}
closeSketchList() {
browserHistory.push(this.props.previousPath);
}