UNPKG

symphony-integration-commons

Version:

Common components for 3rd party developers build the user facing application for Symphony Integrations.

15 lines (12 loc) 258 B
import { FETCH_USER_ID_SUCCESS, } from '../actions'; const userId = (state = '', action) => { switch (action.type) { case FETCH_USER_ID_SUCCESS: return action.payload.toString(); default: return state; } }; export default userId;