Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- state = {
- ordersList: [
- {
- id: 1,
- status: 'pending',
- table: 12,
- food: [
- { foodId: 0, name: 'tomatoSoup', quantity: 14 },
- { foodId: 1, name: 'pancakes', quantity: 14 }
- ],
- currentDate: 'Sun Mar 23 2019 12:46:45',
- editMode: false
- },
- {
- id: 2,
- status: 'new',
- table: 16,
- food: [
- { foodId: 2, name: 'cola', quantity: 17 },
- { foodId: 3, name: 'onionSoup', quantity: 17 }
- ],
- currentDate: 'Sun Mar 24 2019 22:58:33',
- editMode: false
- }
- ],
- currentId: 2
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement