Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #288 from FormidableLabs/bug/container-id
Browse files Browse the repository at this point in the history
fix containerId bug
  • Loading branch information
boygirl authored Aug 11, 2017
2 parents 38aa8c4 + 68fae05 commit 5b7fbfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/victory-container/victory-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default class VictoryContainer extends React.Component {
constructor(props) {
super(props);
this.getTimer = this.getTimer.bind(this);
this.containerId = typeof this.props.containerId === "undefined" ?
uniqueId("victory-container-") : this.props.containerId;
this.containerId = typeof props.containerId === "undefined" ?
uniqueId("victory-container-") : props.containerId;
}

getChildContext() {
Expand Down

0 comments on commit 5b7fbfb

Please sign in to comment.