diff --git a/ui/ui.go b/ui/ui.go index 656a4f2..ba23684 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -245,7 +245,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case stateShowStash: switch m.stash.state { - case stashStateSettingNote, stashStatePromptDelete, stashStateShowingError, stashStateSearchNotes, stashStateShowFiltered: + case stashStateSettingNote, stashStatePromptDelete, + stashStateShowingError, stashStateSearchNotes: m.stash, cmd = stashUpdate(msg, m.stash) return m, cmd }