Adding warning

This commit is contained in:
okbel
2018-01-04 13:55:00 -03:00
parent 3d9eec825c
commit ee0c510569
@@ -228,6 +228,9 @@ export default function auth (state = initialState, action) {
redirectUri: action.uri,
};
case 'APOLLO_SUBSCRIPTION_RESULT':
// @TODO: These don't work anymore because apollo store has been decoupled
if (action.operationName === 'UserBanned' && state.user.id === action.variables.user_id) {
return {
...state,