summaryrefslogtreecommitdiffstats
path: root/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 114a68a..6ca8c1f 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -172,9 +172,7 @@ func update(msg tea.Msg, mdl tea.Model) (tea.Model, tea.Cmd) {
case stateShowStash:
switch m.stash.state {
- case stashStateSettingNote:
- fallthrough
- case stashStatePromptDelete:
+ case stashStateSettingNote, stashStatePromptDelete, stashStateShowingError:
m.stash, cmd = stashUpdate(msg, m.stash)
return m, cmd
}