Skip to content

Commit

Permalink
removed erronous call to push
Browse files Browse the repository at this point in the history
  • Loading branch information
ardevd committed Jan 7, 2024
1 parent 6f2dc29 commit f45bb44
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/tui/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ func (m *BaseModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, tea.Quit
case key.Matches(msg, Keymap.Back):
newModel := m.popView()
// Trigger the Update method of the current submodel
// Replace the current submodel on the stack with the updated submodel
m.pushView(newModel)
return newModel, nil
}
}
Expand Down

0 comments on commit f45bb44

Please sign in to comment.