Handling unhandled responses

This commit is contained in:
James Barnsley
2017-02-07 10:21:20 +13:00
parent cfdccc0d85
commit 48ccb69690
2 changed files with 54 additions and 4 deletions

View File

@ -39,7 +39,7 @@ export default function reducer(pusher = {}, action){
case 'VERSION':
return Object.assign({}, pusher, {
version: action.version,
version: action.data.version,
upgrading: false
});