Skip to content

Commit

Permalink
forward actionsRef to GiftArticle
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleslimghost committed Nov 1, 2018
1 parent 8d4ba4f commit 6a13b0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/x-gift-article/src/lib/props-composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export class GiftArticlePropsComposer {
this.isGiftUrlShortened = false;
this.isNonGiftUrlShortened = false;

this.actionsRef = props.actionsRef;

this.urls = {
dummy: 'https://on.ft.com/gift_link',
gift: undefined,
Expand Down Expand Up @@ -68,7 +70,8 @@ export class GiftArticlePropsComposer {
showCopyButton: this.showCopyButton,
showShareButtons: this.showMobileShareLinks,
showNativeShareButton: this.showNativeShareButton,
mobileShareLinks: this.mobileShareLinks
mobileShareLinks: this.mobileShareLinks,
actionsRef: this.actionsRef,
};
const additionalProps = this.isFreeArticle ? this.showNonGiftUrlSection() : this.showGiftUrlSection();

Expand Down

0 comments on commit 6a13b0b

Please sign in to comment.