From 618de544bfb41090b38a63847ef6a7d8c1c91463 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Thu, 10 Oct 2024 08:43:38 +1300 Subject: [PATCH] Remove unnecessary check --- client/homebrew/editor/snippetbar/snippetbar.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index 429dfd1b6..513b0ab0b 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -175,8 +175,6 @@ const Snippetbar = createClass({ }, renderHistoryItems : function() { - if(this.state.historyItems.length == 0) return; - return
{_.map(this.state.historyItems, (item, index)=>{ if(item.noData || !item.savedAt) return;