aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/index.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-10 15:46:33 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit05f1cd52732b1fc57e13ea41239fbc10299a0e01 (patch)
tree2a3c8d99cb7b7a76319def26cc9ef1bb5703b3b4 /vnext/src/index.js
parent231f880af5634885bfa1a494eccef92bbf72c214 (diff)
ReactDOM.createPortal
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r--vnext/src/index.js27
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'));