superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: fix bug with react-syntax-highlighter import (#5826)
Date Thu, 06 Sep 2018 03:48:37 GMT
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 <krist.wongz@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';


Mime
View raw message