fix (loader): fix the transition out when the application has loaded

This commit is contained in:
Mickael Kerjean
2019-05-05 00:08:41 +10:00
parent 989d8bc5c5
commit 284d554a67

View File

@ -10,7 +10,7 @@ window.addEventListener("DOMContentLoaded", () => {
const className = 'ontouchstart' in window ? 'touch-yes' : 'touch-no';
document.body.classList.add(className);
const $loader = document.querySelector("#nyan_loader");
const $loader = document.querySelector("#n-lder");
function render(){
ReactDOM.render(<Router/>, document.getElementById("main"));