forked from Mirrors/bubbletea
Pull some extraneous parens in the basics tutorial
This commit is contained in:
parent
141fc86ad0
commit
15b6b1dd7d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue