refactor: unnecessary tea.Batch
ci/woodpecker/push/test Pipeline failed Details

This commit is contained in:
Dawid Wysokiński 2024-04-30 08:57:09 +02:00
parent a09b833ca6
commit 0c67bd41b5
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892
1 changed files with 2 additions and 3 deletions

View File

@ -167,9 +167,8 @@ func (m *UI) handleBrowsingList(teaMsg tea.Msg) tea.Cmd {
converted.t = msg.t
}
cmd = tea.Batch(
m.tick(),
)
cmd = m.tick()
case tea.KeyMsg:
if key.Matches(msg, keyBindingCopy) && !clipboard.Unsupported {
item, ok := m.list.SelectedItem().(*listItem)