diff options
author | Vitaly Takmazov | 2018-12-10 15:46:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | 05f1cd52732b1fc57e13ea41239fbc10299a0e01 (patch) | |
tree | 2a3c8d99cb7b7a76319def26cc9ef1bb5703b3b4 /vnext/src/index.js | |
parent | 231f880af5634885bfa1a494eccef92bbf72c214 (diff) |
ReactDOM.createPortal
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r-- | vnext/src/index.js | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js index c2d2b6b7..482591c9 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -3,28 +3,9 @@ import ReactDOM from 'react-dom'; function LoadingView(props) { return ( - <> - <div id="header"> - <div id="header_wrapper"> - <div id="logo"> - <a href="/">Juick</a> - </div> - <div id="search"> - <form> - <input name="search" className="text" placeholder="Search..." /> - </form> - </div> - <nav id="global"> - <a href="/">Loading...</a> - </nav> - </div> - </div> - <div id="wrapper"> - <div id="content"> - <div className="lds-ripple"><div></div><div></div></div> - </div> - </div> - </> + <div id="content"> + <div className="lds-ripple"><div></div><div></div></div> + </div> ); } @@ -36,4 +17,4 @@ const JuickApp = () => ( </Suspense> ); -ReactDOM.render(<JuickApp />, document.getElementById('app')); +ReactDOM.render(<JuickApp />, document.getElementById('wrapper')); |