This repository was archived by the owner on Jun 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/SmartBanner Expand file tree Collapse file tree 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 {
7676 const mixins = {
7777 ios : {
7878 icon : 'app-banner-ios.jpg' ,
79- appMeta : 'google-play -app' ,
79+ appMeta : 'apple-itunes -app' ,
8080 getStoreLink : ( ) =>
8181 `https://itunes.apple.com/${ this . props . appStoreLanguage } /app/id` ,
8282 } ,
8383 android : {
8484 icon : 'app-banner-android.png' ,
85- appMeta : 'apple-itunes -app' ,
85+ appMeta : 'google-play -app' ,
8686 getStoreLink : ( ) =>
8787 'http://play.google.com/store/apps/details?id=' ,
8888 }
@@ -178,7 +178,7 @@ class SmartBanner extends Component {
178178 < a
179179 tabIndex = "-1"
180180 className = "smartbanner-close"
181- onClick = { this . close }
181+ onClick = { ( ) => this . close ( ) }
182182 data-metrics-event-name = "SmartBanner:close"
183183 >
184184 < i className = "fa fa-times-circle" />
@@ -190,7 +190,7 @@ class SmartBanner extends Component {
190190 < span > { inStore } </ span >
191191 </ div >
192192
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" >
194194 < span className = "smartbanner-button-text" > { this . props . button } </ span >
195195 </ a >
196196 </ div >
You can’t perform that action at this time.
0 commit comments