Skip to content

Commit f937bc4

Browse files
author
samueldelesque
committed
fix the fix that fixes the fix
1 parent bd05c98 commit f937bc4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

components/charts/area/area.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default class Area extends Component{
205205
x={xBase - this.props.tipsWidth / 2 + 2}
206206
y={yBase - this.props.strokeWidth - tipHeight - tipOffset + this.props.tipsPadding + 30}
207207
style={{fontSize: 16, fontWeight: 'bold'}}
208-
dangerouslySetInnerHTML={{__html: this.renderTipText(point value: point.value})}}
208+
dangerouslySetInnerHTML={{__html: this.renderTipText(point.label, {value: point.value})}}
209209
/>
210210
</g>
211211
)

demo/demo.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)