woocommerce/plugins/woocommerce-admin/client/lib/history.js

11 lines
261 B
JavaScript

/** @format */
/**
* External dependencies
*/
import { createHashHistory } from 'history';
// See https://github.com/ReactTraining/react-router/blob/master/FAQ.md#how-do-i-access-the-history-object-outside-of-components
export default createHashHistory();