function App() {
const [loading, setLoading] = useState(true);
let preload = document.getElementById('preload');
if (preload) {
setTimeout(() => {
preload.style.display = "none";
setLoading(false);
}, 4000)
}
return (
!loading && (
<Home />
)
);
}