diff --git a/examples/coin-app/src/getManagers.ts b/examples/coin-app/src/getManagers.ts index 2693a2f75d25..5dea416b2c28 100644 --- a/examples/coin-app/src/getManagers.ts +++ b/examples/coin-app/src/getManagers.ts @@ -14,7 +14,7 @@ export default function getManagers() { latency: 1000, // skip websocket updates as these are too spammy predicate: (state, action) => - action.type !== actionTypes.SET_TYPE || action.schema !== Ticker, + action.type !== actionTypes.SET || action.schema !== Ticker, }, }), ]; diff --git a/examples/coin-app/src/resources/StreamManager.ts b/examples/coin-app/src/resources/StreamManager.ts index d02207d7893d..68901be958ba 100644 --- a/examples/coin-app/src/resources/StreamManager.ts +++ b/examples/coin-app/src/resources/StreamManager.ts @@ -29,7 +29,7 @@ export default class StreamManager implements Manager { this.controller = controller; return next => async action => { switch (action.type) { - case actionTypes.SUBSCRIBE_TYPE: + case actionTypes.SUBSCRIBE: // only process registered endpoints if ( !Object.values(this.entities).find( @@ -45,7 +45,7 @@ export default class StreamManager implements Manager { } return next(action); - case actionTypes.UNSUBSCRIBE_TYPE: + case actionTypes.UNSUBSCRIBE: // only process registered endpoints if ( !Object.values(this.entities).find(