I used the latest React-dom version.Each time i run this code on terminal the page goes blank.What could be wrong with this.No console error no compilation error.Just blank `import React from "react"; import { BrowserRouter as Router, Route, Redirect, Switch, } from "react-router-dom";
import About from "./Pages/About/About";
import Contact from "./Pages/Contact/Contact";
import Home from "./Pages/Home/Home";
import Services from "./Pages/Home/Home";
import Testimonial from "./Pages/Testimonial/Testimonial";
import Navbar from "./Components/Navbar/Navbar";
const App = () => {
return (
<Router>
<Navbar />
<main>
<Switch>
<Route path="/" exact>
<Home />
</Route>
<Route path="/about" exact>
<About />
</Route>
<Route path="/services" exact>
<Services />
</Route>
<Route path="/testimonial" exact>
<Testimonial />
</Route>
<Route path="/contact" exact>
<Contact />
</Route>
<Redirect to="/" />
</Switch>
</main>
</Router>
);
};
export default App;
`