Skip to content

Commit

Permalink
Update Share.js. Fixed bad grammar
Browse files Browse the repository at this point in the history
Summary:
Fix a typo in Share.js.
Closes facebook#11033

Differential Revision: D4211724

Pulled By: ericvicenti

fbshipit-source-id: 6f0383568af474b21dfae5b208d21f6fd28ba7d4
  • Loading branch information
mkonicek authored and Facebook Github Bot committed Nov 23, 2016
1 parent df43cc7 commit fc23101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Share/Share.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Share {
static share(content: Content, options: Options = {}): Promise<Object> {
invariant(
typeof content === 'object' && content !== null,
'Content must a valid object'
'Content to share must be a valid object'
);
invariant(
typeof content.url === 'string' || typeof content.message === 'string',
Expand Down

0 comments on commit fc23101

Please sign in to comment.