Commit 20e17626 by Kristian Freeman

Add order shipping action

parent bc4ce285
......@@ -4,6 +4,7 @@ import {
ORDER_MATERIALS,
PACKAGE_ORDER,
PRESENT_ERROR,
SHIP_ORDER,
DOWELS_NEEDED,
SCREWS_NEEDED,
......@@ -60,6 +61,12 @@ export function packageOrder(order) {
}
}
export function shipOrder() {
return {
type: SHIP_ORDER
}
}
export function presentError(message) {
return {
type: PRESENT_ERROR,
......@@ -72,5 +79,6 @@ export default {
generateOrder,
orderMaterials,
packageOrder,
presentError
presentError,
shipOrder
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment