Fix stack overflow in examples/http

This commit is contained in:
sora233
2021-04-09 13:57:58 +08:00
committed by Christian Muehlhaeuser
parent 2d602a1244
commit ebf80ebf89

View File

@@ -22,7 +22,7 @@ type statusMsg int
type errMsg struct{ error }
func (e errMsg) Error() string { return e.Error() }
func (e errMsg) Error() string { return e.error.Error() }
func main() {
p := tea.NewProgram(model{})