the code showing white screen , even not showing header and footer . but when I remove a code in route tag , it shaw header and footer .
<><BrowserRouter>
<Header title="My Todos List" searchBar={false} />
<Routes>
<Route exact path="/" render={() => {
return (
<>
<Addtodo addTodo={addTodo} />
<Todos todos={todos} onDelete={onDelete} />
</>)
}}>
</Route>
<Route exact path="/about">
<About />
</Route>
</Routes>
<Footer />
</BrowserRouter>
</>