text: import React from 'react';
  import Market from './Components/Market';
  import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
  import Checkout from './Components/Checkout';
  import Header from './Components/Header';
  
  function App() {
    return (
      <Router>
        <div className="app">
          <Header />
          <Switch>
            <Route exact path="/">
              <Market />
            </Route>
            <Route exact path="/checkout">
              <Checkout />
            </Route>
          </Switch>
        </div>
      </Router>
    );
  }
  
  export default App;
  