Fixed an issue with the bubbletea model snippet

This commit is contained in:
2024-11-09 23:46:06 +02:00
parent 9c5c5de47d
commit ee2a9bed7d

View File

@@ -36,7 +36,7 @@ func (m Model) View() string {{
)
}}
func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {{
func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {{
switch msg := msg.(type) {{
default:
return m, nil