remove no sketches warning from sketch list
This commit is contained in:
parent
5e4b076b93
commit
3fc4ee897d
1 changed files with 0 additions and 7 deletions
|
@ -21,13 +21,6 @@ class SketchList extends React.Component {
|
||||||
document.getElementById('sketchlist').focus();
|
document.getElementById('sketchlist').focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate() {
|
|
||||||
if (this.props.sketches.length === 0) {
|
|
||||||
this.props.setToastText('No sketches were found.');
|
|
||||||
this.props.showToast(3000);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
closeSketchList() {
|
closeSketchList() {
|
||||||
browserHistory.push(this.props.previousPath);
|
browserHistory.push(this.props.previousPath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue