Skip to content

Commit

Permalink
Added property to component during creation to set timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkuki committed May 30, 2019
1 parent 036696e commit ae668c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class TipSite extends React.Component<Props, {}> {
? <TransientTipOverlay
publisher={this.props.publisher}
onTweet={this.onTweet}
timeout={3000}
/>
: null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class TipTwitterUser extends React.Component<Props, {}> {
? <TransientTipOverlay
publisher={publisher}
onTweet={this.onTweet}
timeout={3000}
/>
: null
}
Expand Down

0 comments on commit ae668c8

Please sign in to comment.