Use ES module build of react-router-dom (#5264)
This commit is contained in:
parent
684001d729
commit
7de6d269d2
10 changed files with 16 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue