Skip to content

Commit

Permalink
Merge pull request #793 from StackStorm/fix-imports
Browse files Browse the repository at this point in the history
fix some imports
  • Loading branch information
JP Bourget authored Jul 31, 2020
2 parents b3b7b62 + f94f834 commit 0d63726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/st2-router/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import createHashHistory from 'history/createHashHistory';
import { createHashHistory } from 'history';

const history = createHashHistory({});

Expand Down
2 changes: 1 addition & 1 deletion modules/st2-router/route.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import React from 'react';
import { PropTypes } from 'prop-types';
import { connect } from 'react-redux';

import matchPath from 'react-router/matchPath';
import { matchPath } from 'react-router';

@connect(
({ location }) => ({ location })
Expand Down

0 comments on commit 0d63726

Please sign in to comment.