mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-22 04:42:37 +03:00
Remove return value of HandleRender
This commit is contained in:
@@ -734,9 +734,7 @@ func (self *BranchesController) rename(branch *models.Branch) error {
|
||||
for i, newBranch := range self.c.Model().Branches {
|
||||
if newBranch.Name == newBranchName {
|
||||
self.context().SetSelection(i)
|
||||
if err := self.context().HandleRender(); err != nil {
|
||||
return err
|
||||
}
|
||||
self.context().HandleRender()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user