From c57a91700374dc4307582b93662142afaab3b272 Mon Sep 17 00:00:00 2001 From: samuel Date: Sun, 18 Jun 2023 17:48:53 +0200 Subject: [PATCH] fix other linting errors --- tea/components/error.go | 2 +- tea/components/header.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }