diff options
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r-- | vnext/src/index.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js index bf1d78ac..e5eda859 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -7,6 +7,7 @@ import Post from './components/Post'; import Thread from './components/Thread'; import LoginButton from './components/LoginButton'; import Footer from './components/Footer'; +import Avatar from './components/Avatar'; const elClassHidden = 'header--hidden' const elClassBackground = 'header--background'; @@ -85,9 +86,7 @@ class App extends React.Component { <div id="header_wrapper"> {this.state.visitor.uid > 0 ? <div id="ctitle"> - <a href={`/${this.state.visitor.uname}`}> - <img src={`//i.juick.com/a/${this.state.visitor.uid}.png`} alt="" />{this.state.visitor.uname} - </a> + <Avatar user={this.state.visitor} /> </div> : <div id="logo"><Link to="/">Juick</Link></div> |