forked from Mirrors/bubbletea
docs: fix code in commands tutorial (#501)
This commit is contained in:
parent
1ed623fdc0
commit
aba3cec050
|
@ -189,7 +189,7 @@ that returns a command. For example:
|
|||
```go
|
||||
func cmdWithArg(id int) tea.Cmd {
|
||||
return func() tea.Msg {
|
||||
return someMsg{id: int}
|
||||
return someMsg{id: id}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue