Skip to content

Commit f580252

Browse files
[docs] Fix IE 11 support
Related to markedjs/marked#1585 (comment)
1 parent f3218f2 commit f580252

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/modules/components/AppTableOfContents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable react/no-danger */
22
import React from 'react';
33
import PropTypes from 'prop-types';
4-
import marked from 'marked';
4+
import marked from 'marked/lib/marked';
55
import throttle from 'lodash/throttle';
66
import clsx from 'clsx';
77
import Box from '@material-ui/core/Box';

docs/src/modules/components/MarkdownElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import clsx from 'clsx';
44
import { useSelector } from 'react-redux';
5-
import marked from 'marked';
5+
import marked from 'marked/lib/marked';
66
import { withStyles } from '@material-ui/core/styles';
77
import textToHash from 'docs/src/modules/utils/textToHash';
88
import prism from 'docs/src/modules/components/prism';

0 commit comments

Comments
 (0)