Use ES module build of react-router-dom (#5264)

This commit is contained in:
Nolan Lawson authored and Eugen Rochko committed 2017-10-08 02:55:58 +02:00
1 parent 684001d729
commit 7de6d269d2
10 files changed
+16 -11

No files matched your search

@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import Link from 'react-router-dom/Link';
import { Link } from 'react-router-dom';
const ColumnLink = ({ icon, text, to, href, method }) => {
if (href) {
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import NavLink from 'react-router-dom/NavLink';
import { NavLink } from 'react-router-dom';
import { FormattedMessage, injectIntl } from 'react-intl';
import { debounce } from 'lodash';
import { isUserTouching } from '../../../is_mobile';