text: import React from "react";
  import Search from "./pages/Search";
  import Saved from "./pages/Saved";
  import NoMatch from "./pages/NoMatch";
  import Nav from "./components/Nav";
  import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
  
  // The app will not render correctly until you setup a Route component.
  // Refer to the Basic Example documentation if you need to.
  // (https://reacttraining.com/react-router/web/example/basic)
  function App() {
    return (
      <Router>
        <div>
          <Nav />
          <Switch>
            <Route exact path={["/", "/books"]}>
              <Search />
            </Route>
            <Route exact path={["/saved", "/saved"]}>
              <Saved />
            </Route>
            <Route>
              <NoMatch />
            </Route>
          </Switch>
        </div>
      </Router>
    );
  }
  
  export default App;
  