From e6b7967c5f9f10922877c6f2837269d63fb97c38 Mon Sep 17 00:00:00 2001 From: Max Eshleman Date: Wed, 20 Nov 2024 15:55:30 -0800 Subject: [PATCH] fix double init (#140) --- pkg/tui/configwrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tui/configwrapper.go b/pkg/tui/configwrapper.go index 915e916..2904f5e 100644 --- a/pkg/tui/configwrapper.go +++ b/pkg/tui/configwrapper.go @@ -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) {