import React from 'react';
import BasketList from './basketList';
import Loading from '../utility/loading';

const ShoppingBasket = () => {

    return <div>
        <h2>Shopping basket</h2>
        <React.Suspense fallback={<Loading/>}>
            <BasketList/>
        </React.Suspense>
    </div>

}

export default ShoppingBasket;
