aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r--vnext/src/App.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 71dc3926..2601ef45 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -122,7 +122,7 @@ export default class App extends React.Component {
<ul>
{user.uid > 0 ?
<li>
- <Link to={{ pathname: '/discussions' }}>
+ <Link to={{ pathname: '/' }}>
<Icon name="ei-comment" size="s" /><span>Discuss</span>
{
user.unreadCount &&
@@ -133,7 +133,7 @@ export default class App extends React.Component {
:
<li><Link to='/?media=1' rel="nofollow"><Icon name="ei-camera" size="s" />Photos</Link></li>
}
- <li><Link to={{ pathname: '/' }} rel="nofollow"><Icon name="ei-search" size="s" />Discover</Link></li>
+ <li><Link to={{ pathname: '/discover' }} rel="nofollow"><Icon name="ei-search" size="s" />Discover</Link></li>
<li>
{user.uid > 0 ?
<Link to={{ pathname: '/post' }}><Icon name="ei-pencil" size="s" />Post</Link>
@@ -148,10 +148,10 @@ export default class App extends React.Component {
<div id="wrapper">
<section id="content">
<Switch>
- <Route exact path="/" render={(props) => <Discover visitor={user} {...props} />} />
+ <Route exact path="/" render={(props) => <Discussions visitor={user} {...props} />} />
<Route exact path="/home" render={(props) => <Home visitor={user} {...props} />} />
- <Route exact path="/discussions" render={(props) =>
- <Discussions visitor={user} {...props} />
+ <Route exact path="/discover" render={(props) =>
+ <Discover visitor={user} {...props} />
} />
<Route exact path="/settings" render={(props) =>
<Settings visitor={user} {...props} />