From ad97e06bfb0530a9a571c3cb83f1d9b3e338ee50 Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Tue, 30 Apr 2019 06:49:01 -0700
Subject: Adding paging on communities.

---
 ui/src/index.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'ui/src/index.tsx')

diff --git a/ui/src/index.tsx b/ui/src/index.tsx
index 357637d2..76605d8b 100644
--- a/ui/src/index.tsx
+++ b/ui/src/index.tsx
@@ -43,6 +43,7 @@ class Index extends Component<any, any> {
             <Route path={`/login`} component={Login} />
             <Route path={`/create_post`} component={CreatePost} />
             <Route path={`/create_community`} component={CreateCommunity} />
+            <Route path={`/communities/page/:page`} component={Communities} />
             <Route path={`/communities`} component={Communities} />
             <Route path={`/post/:id/comment/:comment_id`} component={Post} />
             <Route path={`/post/:id`} component={Post} />
-- 
cgit v1.2.3

