fix: page formatting

This commit is contained in:
Benexl
2025-07-26 19:42:26 +03:00
parent c59babc30d
commit e641a48156

View File

@@ -31,7 +31,7 @@ def results(ctx: Context, state: State) -> State | InternalDirective:
if page_info.has_next_page:
choices.update(
{
"Next Page (Page {page_info.current_page + 1})": lambda: _handle_pagination(
f"Next Page (Page {page_info.current_page + 1})": lambda: _handle_pagination(
ctx, state, 1
)
}
@@ -39,7 +39,7 @@ def results(ctx: Context, state: State) -> State | InternalDirective:
if page_info.current_page > 1:
choices.update(
{
"Previous Page (Page {page_info.current_page - 1})": lambda: _handle_pagination(
f"Previous Page (Page {page_info.current_page - 1})": lambda: _handle_pagination(
ctx, state, -1
)
}