30 lines
850 B
JavaScript
30 lines
850 B
JavaScript
import React, {Fragment} from 'react';
|
|
import PageTitle from "../../components/pagetitle/PageTitle";
|
|
import CheckoutSection from '../../components/CheckoutSection'
|
|
import Scrollbar from '../../components/scrollbar/scrollbar'
|
|
import {connect} from "react-redux";
|
|
import Footer from '../../components/footer/Footer';
|
|
import Navbar2 from '../../components/Navbar2/Navbar2';
|
|
|
|
const CheckoutPage =({cartList}) => {
|
|
return (
|
|
<Fragment>
|
|
<Navbar2/>
|
|
<PageTitle pageTitle={'Checkout'} pagesub={'Checkout'}/>
|
|
<CheckoutSection cartList={cartList}/>
|
|
<Footer/>
|
|
<Scrollbar/>
|
|
</Fragment>
|
|
)
|
|
};
|
|
|
|
const mapStateToProps = state => {
|
|
return {
|
|
cartList: state.cartList.cart,
|
|
symbol: state.data.symbol
|
|
}
|
|
};
|
|
|
|
export default connect(mapStateToProps)(CheckoutPage);
|
|
|