mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-03 04:50:14 +08:00
optimise (lighthouse): apply optimisations provided by the lighthouse tool
This commit is contained in:
@ -13,7 +13,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||
const $loader = document.querySelector("#n-lder");
|
||||
|
||||
function render(){
|
||||
ReactDOM.render(<Router/>, document.getElementById("main"));
|
||||
ReactDOM.render(<Router/>, document.querySelector("div[role='main']"));
|
||||
return Promise.resolve();
|
||||
};
|
||||
function waitFor(n){
|
||||
|
||||
Reference in New Issue
Block a user