forked from Mirrors/bubbletea
Fix typo in comment
This commit is contained in:
parent
959b9c3a45
commit
5a1ee26a6b
|
@ -50,7 +50,7 @@ func (m *Model) SetTotalPages(items int) int {
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
// ItemsOnPage is a helper function fro returning the numer of items on the
|
// ItemsOnPage is a helper function for returning the numer of items on the
|
||||||
// current page given the total numer of items passed as an argument.
|
// current page given the total numer of items passed as an argument.
|
||||||
func (m Model) ItemsOnPage(totalItems int) int {
|
func (m Model) ItemsOnPage(totalItems int) int {
|
||||||
start, end := m.GetSliceBounds(totalItems)
|
start, end := m.GetSliceBounds(totalItems)
|
||||||
|
|
Loading…
Reference in New Issue