From d07a1b4563b829232040c9b1156a6598f493f469 Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Thu, 4 Apr 2019 13:00:19 -0700
Subject: Adding forum / community page

- Adding the page. Fixes #17.
- Adding number of comments for community.
- Add sorting to that table.
---
 ui/src/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

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

diff --git a/ui/src/index.tsx b/ui/src/index.tsx
index e68fc92a..5e454c4d 100644
--- a/ui/src/index.tsx
+++ b/ui/src/index.tsx
@@ -8,6 +8,7 @@ import { CreatePost } from './components/create-post';
 import { CreateCommunity } from './components/create-community';
 import { Post } from './components/post';
 import { Community } from './components/community';
+import { Communities } from './components/communities';
 
 import './main.css';
 
@@ -33,6 +34,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`} component={Communities} />
             <Route path={`/post/:id`} component={Post} />
             <Route path={`/community/:id`} component={Community} />
           </Switch>
-- 
cgit v1.2.3

