From 2f32d3e6dfedf985cc09d92c5be3c4b5d0f7b16c Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Tue, 14 Jul 2020 11:59:15 -0400
Subject: A few fixes.

---
 ui/src/components/main.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ui/src/components/main.tsx')

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);
   }
 
-- 
cgit v1.2.3

