diff --git a/superset/assets/src/explore/components/DisplayQueryButton.jsx b/superset/assets/src/explore/components/DisplayQueryButton.jsx index 9c8454d32..a7295db2a 100644 --- a/superset/assets/src/explore/components/DisplayQueryButton.jsx +++ b/superset/assets/src/explore/components/DisplayQueryButton.jsx @@ -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';