Skip to content

Commit

Permalink
fix(RCTPropsAnimatedNode): Fix iteration over prop config
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentriemer committed May 27, 2018
1 parent a2fa631 commit cdabeb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class RCTPropsAnimatedNode extends RCTAnimatedNode {
}

propertyNameForParentTag(parentTag: number): string {
for (let [property, tag] in this.config.props) {
for (let [property, tag] of Object.entries(this.config.props)) {
if (tag === parentTag) {
return property;
}
Expand Down

0 comments on commit cdabeb5

Please sign in to comment.