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: make BigNumber PureComponent (#6105)
Date Mon, 15 Oct 2018 16:25:55 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 3df98e5  make BigNumber PureComponent (#6105)
3df98e5 is described below

commit 3df98e5b4c613bd20d631d1dbf766adbdf1da52d
Author: Krist Wongsuphasawat <krist.wongz@gmail.com>
AuthorDate: Mon Oct 15 09:25:48 2018 -0700

    make BigNumber PureComponent (#6105)
---
 superset/assets/src/visualizations/BigNumber/BigNumber.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/BigNumber/BigNumber.jsx b/superset/assets/src/visualizations/BigNumber/BigNumber.jsx
index 34b77e5..d1be544 100644
--- a/superset/assets/src/visualizations/BigNumber/BigNumber.jsx
+++ b/superset/assets/src/visualizations/BigNumber/BigNumber.jsx
@@ -67,7 +67,7 @@ const defaultProps = {
   renderTooltip: renderTooltipFactory(identity),
 };
 
-class BigNumberVis extends React.Component {
+class BigNumberVis extends React.PureComponent {
   constructor(props) {
     super(props);
     this.gradientId = shortid.generate();


Mime
View raw message