You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/09/06 03:48:37 UTC
[incubator-superset] branch master updated: fix bug with
react-syntax-highlighter import (#5826)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 8c2dbad fix bug with react-syntax-highlighter import (#5826)
8c2dbad is described below
commit 8c2dbad803ad8747bb7af72889e48bf912cf78bb
Author: Krist Wongsuphasawat <kr...@gmail.com>
AuthorDate: Wed Sep 5 20:48:34 2018 -0700
fix bug with react-syntax-highlighter import (#5826)
---
superset/assets/src/explore/components/DisplayQueryButton.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/assets/src/explore/components/DisplayQueryButton.jsx b/superset/assets/src/explore/components/DisplayQueryButton.jsx
index 9c8454d..a7295db 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';