fix #980 cannot read property 'map' of null

This commit is contained in:
Baorong Li
2019-07-07 23:01:20 +08:00
parent ce9b8c376f
commit 0ea57d14c9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ function Completed({ data }) {
return (
<div className={styles.tooltip}>
<p className={styles.tiptitle}>{content.label}</p>
<ul>{list}</ul>
{content.payload && <ul>{list}</ul>}
</div>
)
}}
+1 -1
View File
@@ -73,7 +73,7 @@ function Sales({ data }) {
return (
<div className={styles.tooltip}>
<p className={styles.tiptitle}>{content.label}</p>
<ul>{list}</ul>
{content.payload && <ul>{list}</ul>}
</div>
)
}}