diff options
author | Vitaly Takmazov | 2019-08-14 11:37:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:55 +0300 |
commit | 647a11daa6cb73cc3f903c31335f7ca3a9e59d8b (patch) | |
tree | 3b5832005eb1e626e0f446c6f01cfeade044e5c9 /vnext | |
parent | 864e079847207a9c8072ec5c425e28fd1d742dc9 (diff) |
Show logo on first render
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/App.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js index 80b235ac..5d0cc832 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -108,9 +108,12 @@ export default function App() { <div id="header_wrapper"> { visitor.uid < 0 ? - <nav id="global"> - <a href="/">Loading...</a> - </nav> + <> + <div id="logo"><a href="/" /></div> + <nav id="global"> + <a href="/">Loading...</a> + </nav> + </> : visitor.uid > 0 ? <UserLink user={visitor} /> : <div id="logo"> |