diff --git a/lib/index.js b/lib/index.js index 23fb706..91bad76 100644 --- a/lib/index.js +++ b/lib/index.js @@ -22,7 +22,7 @@ export function createDuck(name, app) { type, }; - if (payload) action.payload = payload; + if (payload !== undefined) action.payload = payload; return action; };