We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3b7b62 + f94f834 commit 0d63726Copy full SHA for 0d63726
modules/st2-router/history.js
@@ -12,7 +12,7 @@
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
-import createHashHistory from 'history/createHashHistory';
+import { createHashHistory } from 'history';
16
17
const history = createHashHistory({});
18
modules/st2-router/route.component.js
@@ -16,7 +16,7 @@ import React from 'react';
import { PropTypes } from 'prop-types';
import { connect } from 'react-redux';
19
-import matchPath from 'react-router/matchPath';
+import { matchPath } from 'react-router';
20
21
@connect(
22
({ location }) => ({ location })
0 commit comments