...
|
...
|
@@ -41,6 +41,8 @@ function mapDispatchToProps(dispatch) { |
|
|
class AssociatorGiftContainer extends Component {
|
|
|
constructor(props) {
|
|
|
super(props);
|
|
|
this._displayGiftAlert = this._displayGiftAlert.bind(this);
|
|
|
this._hiddenGiftAlert = this._hiddenGiftAlert.bind(this);
|
|
|
}
|
|
|
|
|
|
componentDidMount() {
|
...
|
...
|
@@ -51,14 +53,26 @@ class AssociatorGiftContainer extends Component { |
|
|
|
|
|
}
|
|
|
|
|
|
_displayGiftAlert(){
|
|
|
this.props.actions.displayGiftAlert();
|
|
|
}
|
|
|
|
|
|
_hiddenGiftAlert(){
|
|
|
this.props.actions.hiddenGiftAlert();
|
|
|
}
|
|
|
|
|
|
render() {
|
|
|
|
|
|
let {
|
|
|
demo
|
|
|
} = this.props.associatorGift;
|
|
|
showGiftAlert,
|
|
|
|
|
|
} = this.props.associatorGift;
|
|
|
return (
|
|
|
<AssociatorGift />
|
|
|
<AssociatorGift
|
|
|
showGiftAlert={showGiftAlert}
|
|
|
displayGiftAlert={this._displayGiftAlert}
|
|
|
hiddenGiftAlert={this._hiddenGiftAlert}
|
|
|
/>
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
|