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

Commit

Permalink
fix containerId bug
Browse files Browse the repository at this point in the history
  • Loading branch information
boygirl committed Aug 10, 2017
1 parent 38aa8c4 commit 68fae05
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 68fae05

Please sign in to comment.