Skip to content

Commit

Permalink
✨ Item quantities are randomly generated.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlee-dev committed Aug 26, 2019
1 parent f63153b commit 41b40ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const generateItems = possibleDestinations => {
value: destinationPlanet.location
},
price: Math.floor(Math.random() * 10),
quantity: 10
quantity: Math.floor(Math.random() * 10)
}
)
items.push(item)
Expand Down

0 comments on commit 41b40ec

Please sign in to comment.