mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Pull some extraneous parens in the basics tutorial
This commit is contained in:
@@ -106,7 +106,7 @@ var initialModel = model{
|
||||
selected: make(map[int]struct{}),
|
||||
}
|
||||
|
||||
func (m model) Init() (tea.Cmd) {
|
||||
func (m model) Init() tea.Cmd {
|
||||
// Just return `nil`, which means "no I/O right now, please."
|
||||
return m, nil
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ var initialModel = model{
|
||||
selected: make(map[int]struct{}),
|
||||
}
|
||||
|
||||
func (m model) Init() (tea.Cmd) {
|
||||
func (m model) Init() tea.Cmd {
|
||||
// Just return `nil`, which means "no I/O right now, please."
|
||||
return m, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user