Skip to content

Commit

Permalink
fix double init (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitemongerer authored Nov 20, 2024
1 parent 3fdbcde commit e6b7967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tui/configwrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *ConfigWrapper) Init() tea.Cmd {

func (c *ConfigWrapper) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
if c.configured {
return c.next, c.next.Init()
return c.next, nil
}

switch msg.(type) {
Expand Down

0 comments on commit e6b7967

Please sign in to comment.