Fix, incorrect getOauthState call for commands install

This commit is contained in:
Tom Moor
2017-11-22 00:28:08 -08:00
parent dd2cd2f9d8
commit cf0c755e4d

View File

@ -13,7 +13,7 @@ type Props = {
function SlackAuthLink({ auth, children, scopes, redirectUri }: Props) {
return (
<a href={slackAuth(this.props.auth.getOauthState(), scopes, redirectUri)}>
<a href={slackAuth(auth.getOauthState(), scopes, redirectUri)}>
{children}
</a>
);