mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Fix return value int Init() in standalone basics tutorial too
This commit is contained in:
@@ -71,7 +71,7 @@ var initialModel = model{
|
|||||||
|
|
||||||
func (m model) Init() tea.Cmd {
|
func (m model) Init() tea.Cmd {
|
||||||
// Just return `nil`, which means "no I/O right now, please."
|
// Just return `nil`, which means "no I/O right now, please."
|
||||||
return m, nil
|
return nil
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user