From 04edfc2c63bb92b4769aebe3cc9c5ce62c4c77b5 Mon Sep 17 00:00:00 2001 From: Yuki Osaki Date: Sun, 31 Oct 2021 14:03:45 +0900 Subject: [PATCH] remove unnecessary check --- pkg/gui/branches_panel.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index 4c70457f1..7490ff23f 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -83,9 +83,7 @@ func (gui *Gui) refreshGithubPullRequests() { gui.Log.Error(err) } - if len(prs) > 0 { - gui.State.GithubRecentPRs = prs - } + gui.State.GithubRecentPRs = prs } // specific functions