Fixed an issue with the bubbletea model snippet
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user