summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-12-09 01:24:26 +0200
committerYuval Adam <yuval@y3xz.com>2015-12-09 01:24:42 +0200
commit792c3df83df86386b6b24b0f36efc108a3eeca43 (patch)
treefc6103bba335971db2932576dd3a8dbde0910c1b /index.js
parent5a15e8b05f9dd13af2b7453bca99c2a3a76faa4f (diff)
Add some page layout to the whole thing
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.js b/index.js
index 65b52ee..e9935dc 100644
--- a/index.js
+++ b/index.js
@@ -47,6 +47,4 @@ class IPAddress extends React.Component {
}
}
-const app = document.createElement('div')
-document.body.appendChild(app)
-ReactDOM.render(<IPAddress />, app)
+ReactDOM.render(<IPAddress />, document.getElementById('app'))