Skip to content

Commit 4312901

Browse files
authored
Merge pull request esnet#278 from jfremy/patch-1
YAxis looses format property on update
2 parents ab61073 + e9dd162 commit 4312901

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/YAxis.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default class YAxis extends React.Component {
124124
height,
125125
chartExtent,
126126
absolute,
127-
fmt,
127+
format,
128128
type,
129129
showGrid,
130130
hideAxisLine
@@ -141,10 +141,10 @@ export default class YAxis extends React.Component {
141141
hideAxisLine,
142142
absolute,
143143
type,
144-
fmt
144+
format
145145
);
146146
} else if (
147-
this.props.fmt !== fmt ||
147+
this.props.format !== format ||
148148
this.props.align !== align ||
149149
this.props.width !== width ||
150150
this.props.height !== height ||
@@ -164,7 +164,7 @@ export default class YAxis extends React.Component {
164164
hideAxisLine,
165165
absolute,
166166
type,
167-
fmt
167+
format
168168
);
169169
}
170170
}

0 commit comments

Comments
 (0)