From 1769a62aacc624dc56d504b6e95277892f819f97 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 28 Apr 2019 17:19:04 -0700 Subject: Adding better community and main page routing, with sorting and type in url. --- ui/src/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/src/index.tsx') diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 446705f1..0164f50e 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -1,9 +1,8 @@ import { render, Component } from 'inferno'; -import { HashRouter, Route, Switch } from 'inferno-router'; - +import { HashRouter, BrowserRouter, Route, Switch } from 'inferno-router'; +import { Main } from './components/main'; import { Navbar } from './components/navbar'; import { Footer } from './components/footer'; -import { Home } from './components/home'; import { Login } from './components/login'; import { CreatePost } from './components/create-post'; import { CreateCommunity } from './components/create-community'; @@ -39,14 +38,15 @@ class Index extends Component {
- - + + + -- cgit v1.2.3