Skip to content

Commit 0d63726

Browse files
author
JP Bourget
authored
Merge pull request #793 from StackStorm/fix-imports
fix some imports
2 parents b3b7b62 + f94f834 commit 0d63726

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/st2-router/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
import createHashHistory from 'history/createHashHistory';
15+
import { createHashHistory } from 'history';
1616

1717
const history = createHashHistory({});
1818

modules/st2-router/route.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import React from 'react';
1616
import { PropTypes } from 'prop-types';
1717
import { connect } from 'react-redux';
1818

19-
import matchPath from 'react-router/matchPath';
19+
import { matchPath } from 'react-router';
2020

2121
@connect(
2222
({ location }) => ({ location })

0 commit comments

Comments
 (0)