text: import React from "react";
  import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
  import Home from "./pages/Home";
  import NoMatch from "./pages/NoMatch";
  
  
  
  function App() {
    return (
      <Router>
        <div>
        
          <Switch>
            <Route exact path={["/", "/home"]}>
              <Home />
            </Route>
            <Route>
              <NoMatch />
            </Route>
          </Switch>
        </div>
      </Router>
    );
  }
  
  export default App;
  