diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index 513b0ab0b..d457d92f2 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -175,6 +175,8 @@ const Snippetbar = createClass({ }, renderHistoryItems : function() { + if(!this.state.historyExists) return; + return
{_.map(this.state.historyItems, (item, index)=>{ if(item.noData || !item.savedAt) return;