diff --git a/tea/components/error.go b/tea/components/error.go index 7e72593..d1369ea 100644 --- a/tea/components/error.go +++ b/tea/components/error.go @@ -32,7 +32,7 @@ func (e ErrorComponent) Init() tea.Cmd { return nil } -func (e ErrorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) { +func (e ErrorComponent) Update(_ tea.Msg) (tea.Model, tea.Cmd) { return e, nil } diff --git a/tea/components/header.go b/tea/components/header.go index 62c5522..54cd599 100644 --- a/tea/components/header.go +++ b/tea/components/header.go @@ -25,7 +25,7 @@ func (h headerComponent) Init() tea.Cmd { return nil } -func (h headerComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) { +func (h headerComponent) Update(_ tea.Msg) (tea.Model, tea.Cmd) { return h, nil }