diff options
-rw-r--r-- | vnext/src/App.js | 10 | ||||
-rw-r--r-- | vnext/src/components/Feeds.js | 2 |
2 files changed, 6 insertions, 6 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} /> diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js index a7833f67..a09cfab2 100644 --- a/vnext/src/components/Feeds.js +++ b/vnext/src/components/Feeds.js @@ -28,7 +28,7 @@ export function Discussions(props) { baseUrl: '/messages/discussions', pageParam: 'to' }; - return (<Feed authRequired={true} query={query} {...props} />); + return (<Feed authRequired={false} query={query} {...props} />); } export function Blog(props) { |