@shopgate/pwa-common
Version:
Common library for the Shopgate Connect PWA.
11 lines (10 loc) • 370 B
JavaScript
import fetchPageConfig from "./fetchPageConfig";
/**
* Retrieves the config for a page.
* @param {string} pageId The ID of the page to request.
* @param {boolean} [force=true] When true, the request will go out without being checked.
* @return {Function} The dispatched action.
* @deprecated
*/
const getPageConfig = fetchPageConfig;
export default getPageConfig;