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: [Profile] Fix react gravitar size prop type warning (#7647)
Date Wed, 05 Jun 2019 05:46:15 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 25da4c7  [Profile] Fix react gravitar size prop type warning (#7647)
25da4c7 is described below

commit 25da4c773b1cd358d9b50ce3ce3e3835573783da
Author: Erik Ritter <erik.ritter@airbnb.com>
AuthorDate: Tue Jun 4 22:46:05 2019 -0700

    [Profile] Fix react gravitar size prop type warning (#7647)
---
 superset/assets/src/profile/components/UserInfo.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/profile/components/UserInfo.jsx b/superset/assets/src/profile/components/UserInfo.jsx
index 4eb334a..719219e 100644
--- a/superset/assets/src/profile/components/UserInfo.jsx
+++ b/superset/assets/src/profile/components/UserInfo.jsx
@@ -33,7 +33,7 @@ const UserInfo = ({ user }) => (
         email={user.email}
         width="100%"
         height=""
-        size="220"
+        size={220}
         alt={t('Profile picture provided by Gravatar')}
         className="img-rounded"
         style={{ borderRadius: 15 }}


Mime
View raw message