|  |  | @ -1,15 +1,14 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | import React from "react"; |  |  |  | import React from "react"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import Order from "./components/Order"; |  |  |  | import Order from "./components/Order"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { connect } from "react-redux"; |  |  |  | import { connect } from "react-redux"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {publicApi} from '../../redux/actions'; |  |  |  | import { publicApi } from "../../redux/actions"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | //assets
 |  |  |  | //assets
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import bookImage from "../../assets/images/book-mini.svg"; |  |  |  | import bookImage from "../../assets/images/book-mini.svg"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | function Orders({ orders, headerOptions, setHeaderOptions }) { |  |  |  | function Orders({ orders, headerOptions, setHeaderOptions }) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   React.useEffect(() => { |  |  |  |   React.useEffect(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |     setHeaderOptions(headerOptions); |  |  |  |     setHeaderOptions(headerOptions); | 
			
		
	
		
		
			
				
					
					|  |  |  |   },[]); |  |  |  |   }, []); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   return ( |  |  |  |   return ( | 
			
		
	
		
		
			
				
					
					|  |  |  |     <div className="flex flex-col px-4"> |  |  |  |     <div className="flex flex-col px-4"> | 
			
		
	
		
		
			
				
					
					|  |  |  |       {orders.map((order, index) => ( |  |  |  |       {orders.map((order, index) => ( | 
			
		
	
	
		
		
			
				
					|  |  | @ -20,8 +19,7 @@ function Orders({ orders, headerOptions, setHeaderOptions }) { | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | const mapStateToProps = (state) => ({ |  |  |  | const mapStateToProps = (state) => ({ | 
			
		
	
		
		
			
				
					
					|  |  |  |   isMobile : state.publicApi.isMobile, |  |  |  |   isMobile: state.publicApi.isMobile, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | }); |  |  |  | }); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | const mapDispatchToProps = { |  |  |  | const mapDispatchToProps = { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |