Skip to content

Commit

Permalink
Invites: Don't pass all the params, select custom ones
Browse files Browse the repository at this point in the history
  • Loading branch information
lezama committed Dec 4, 2015
1 parent d14b177 commit 1bab1be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/my-sites/invites/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export function acceptInvite( context ) {
React.render(
React.createElement(
InviteAccept,
context.params
{
siteId: context.params.site_id,
inviteKey: context.params.invitation_key
}
),
document.getElementById( 'primary' )
);
Expand Down

0 comments on commit 1bab1be

Please sign in to comment.