Skip to content

Commit 19e06ab

Browse files
committed
Remove mention of index from start and end of page
1 parent a2e1d29 commit 19e06ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sauce/home.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ pub fn home() -> Html {
440440
current_page.min((filtered_data.len() - 1) / limit)
441441
};
442442

443-
let start_index = current_page * limit;
444-
let end_index = (start_index + limit).min(filtered_data.len());
443+
let start = current_page * limit;
444+
let end = (start + limit).min(filtered_data.len());
445445

446446
let paginated_data = if filtered_data.is_empty() {
447447
Vec::new()

0 commit comments

Comments
 (0)