@shopgate/pwa-common
Version:
Common library for the Shopgate Connect PWA.
10 lines (9 loc) • 311 B
JavaScript
import { RECEIVE_CLIENT_INFORMATION } from "../constants/ActionTypes";
import { main$ } from "./main";
/**
* Gets triggered after the client information was updated
* @type {Observable}
*/
export const clientInformationDidUpdate$ = main$.filter(({
action
}) => action.type === RECEIVE_CLIENT_INFORMATION);