chore: lint

This commit is contained in:
Kujtim Hoxha
2025-07-24 22:21:34 +02:00
parent 4614a6cdcf
commit 5ba54bc7ee
3 changed files with 32 additions and 33 deletions

View File

@@ -265,7 +265,7 @@ func (f *filterableList[T]) Filter(query string) tea.Cmd {
matchedItems = append(matchedItems, item)
}
if f.list.direction == DirectionBackward {
if f.direction == DirectionBackward {
slices.Reverse(matchedItems)
}

View File

@@ -846,7 +846,6 @@ func (l *list[T]) SelectItemAbove() tea.Cmd {
cmds = append(cmds, cmd)
}
}
}
item, ok := l.items.Get(newIndex)
if !ok {