summaryrefslogtreecommitdiffstats
path: root/ui/src/components/main.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r--ui/src/components/main.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx
index 0560e802..0392090a 100644
--- a/ui/src/components/main.tsx
+++ b/ui/src/components/main.tsx
@@ -554,12 +554,12 @@ export class Main extends Component<any, MainState> {
}
nextPage(i: Main) {
- i.updateUrl({ page: this.state.page + 1 });
+ i.updateUrl({ page: i.state.page + 1 });
window.scrollTo(0, 0);
}
prevPage(i: Main) {
- i.updateUrl({ page: this.state.page - 1 });
+ i.updateUrl({ page: i.state.page - 1 });
window.scrollTo(0, 0);
}