summaryrefslogtreecommitdiffstats
path: root/ui/src/index.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-30 06:49:01 -0700
committerDessalines <tyhou13@gmx.com>2019-04-30 06:49:01 -0700
commitad97e06bfb0530a9a571c3cb83f1d9b3e338ee50 (patch)
tree2dd8c65521df0dc883b0d3cb2a59232308bec857 /ui/src/index.tsx
parent9dd8003cf0cf7458ebcd80b52ec2c9113bfe162f (diff)
Adding paging on communities.
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r--ui/src/index.tsx1
1 files changed, 1 insertions, 0 deletions
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} />