aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/index.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-16 18:19:54 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commitc754cbba643d7ea1e6312c685f4b321ab5efba6b (patch)
tree610930ebd1b407b9f143f988c1ae00ae73c1d9f6 /vnext/src/index.js
parentb96369be938bd767c35d3e0a888eeda3c9c79d10 (diff)
Navigation fix
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r--vnext/src/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js
index 97431188..88c13ae3 100644
--- a/vnext/src/index.js
+++ b/vnext/src/index.js
@@ -38,14 +38,14 @@ class App extends React.Component {
<nav id="global">
<ul>
{this.state.visitor.uid > 0 ?
- <li><Link to={{ pathname: '/', search: '?show=discuss'}}><Icon name="ei-comment" size="s"/>Discuss</Link></li>
+ <li><Link to={{ pathname: '/'}}><Icon name="ei-comment" size="s"/>Discuss</Link></li>
:
- <li><Link to={{ pathname: '/', search: '?media=1'}} rel="nofollow"><Icon name="ei-camera" size="s"/>Photos</Link></li>
+ <li><Link to='/?media=1' rel="nofollow"><Icon name="ei-camera" size="s"/>Photos</Link></li>
}
- <li><Link to="/" rel="nofollow"><Icon name="ei-search" size="s"/>Discover</Link></li>
+ <li><Link to={{ pathname: '/'}} rel="nofollow"><Icon name="ei-search" size="s"/>Discover</Link></li>
<li>
{this.state.visitor.uid > 0 ?
- <Link to="post" href="/post"><Icon name="ei-pencil" size="s"/>Post</Link>
+ <Link to={{ pathname: '/post'}}><Icon name="ei-pencil" size="s"/>Post</Link>
:
<LoginButton title="Login" onAuth={this.auth.bind(this)} />
}