update: removed stale errors
Some checks failed
Deploy / deploy (push) Has been cancelled

when encountering an error, the error would never be removed, i just reset the error msg in the switchPage function, this will have to be redone later to make error messages dissapear after a while even on the same page
This commit is contained in:
2026-04-24 09:45:32 +02:00
parent 1bc03822b1
commit 53c1b5e254

View File

@@ -201,6 +201,7 @@ var modifiedKeyMap = viewport.KeyMap{
func (m Model) SwitchPage(p page) Model {
m.currentPage = p
m.switched = true
m.ErrorMsg = ""
return m
}