This repository was archived by the owner on Jun 28, 2021. It is now read-only.
File tree 1 file changed +4
-4
lines changed
src/components/SmartBanner
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ class SmartBanner extends Component {
76
76
const mixins = {
77
77
ios : {
78
78
icon : 'app-banner-ios.jpg' ,
79
- appMeta : 'google-play -app' ,
79
+ appMeta : 'apple-itunes -app' ,
80
80
getStoreLink : ( ) =>
81
81
`https://itunes.apple.com/${ this . props . appStoreLanguage } /app/id` ,
82
82
} ,
83
83
android : {
84
84
icon : 'app-banner-android.png' ,
85
- appMeta : 'apple-itunes -app' ,
85
+ appMeta : 'google-play -app' ,
86
86
getStoreLink : ( ) =>
87
87
'http://play.google.com/store/apps/details?id=' ,
88
88
}
@@ -178,7 +178,7 @@ class SmartBanner extends Component {
178
178
< a
179
179
tabIndex = "-1"
180
180
className = "smartbanner-close"
181
- onClick = { this . close }
181
+ onClick = { ( ) => this . close ( ) }
182
182
data-metrics-event-name = "SmartBanner:close"
183
183
>
184
184
< i className = "fa fa-times-circle" />
@@ -190,7 +190,7 @@ class SmartBanner extends Component {
190
190
< span > { inStore } </ span >
191
191
</ div >
192
192
193
- < a href = { link } onClick = { this . install } className = "smartbanner-button" data-metrics-event-name = "SmartBanner:InstallAapp" >
193
+ < a href = { link } onClick = { ( ) => this . install ( ) } className = "smartbanner-button" data-metrics-event-name = "SmartBanner:InstallAapp" >
194
194
< span className = "smartbanner-button-text" > { this . props . button } </ span >
195
195
</ a >
196
196
</ div >
You can’t perform that action at this time.
0 commit comments