From 3fc4ee897d06a08d272a7a5f44bfeb2ac9e5e61a Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Fri, 6 Jan 2017 13:09:32 -0500 Subject: [PATCH] remove no sketches warning from sketch list --- client/modules/IDE/components/SketchList.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/client/modules/IDE/components/SketchList.jsx b/client/modules/IDE/components/SketchList.jsx index 14027fd6..65974298 100644 --- a/client/modules/IDE/components/SketchList.jsx +++ b/client/modules/IDE/components/SketchList.jsx @@ -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); }