fix bug with react-syntax-highlighter import (#5826)

This commit is contained in:
Krist Wongsuphasawat 2018-09-05 20:48:34 -07:00 committed by Maxime Beauchemin
parent 5eff7a8d6c
commit 8c2dbad803
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import SyntaxHighlighter, { registerLanguage } from 'react-syntax-highlighter/light';
import SyntaxHighlighter, { registerLanguage } from 'react-syntax-highlighter/dist/light';
import html from 'react-syntax-highlighter/languages/hljs/htmlbars';
import markdown from 'react-syntax-highlighter/languages/hljs/markdown';
import sql from 'react-syntax-highlighter/languages/hljs/sql';