diff --git a/app/scenes/Settings/Slack.js b/app/scenes/Settings/Slack.js index 188972bdf..99a2ce114 100644 --- a/app/scenes/Settings/Slack.js +++ b/app/scenes/Settings/Slack.js @@ -47,7 +47,7 @@ class Slack extends React.Component { ) : ( )}

@@ -83,7 +83,7 @@ class Slack extends React.Component { {collection.name} diff --git a/app/scenes/Settings/components/SlackButton.js b/app/scenes/Settings/components/SlackButton.js index 241e6ed60..6923317f1 100644 --- a/app/scenes/Settings/components/SlackButton.js +++ b/app/scenes/Settings/components/SlackButton.js @@ -17,11 +17,7 @@ type Props = { function SlackButton({ auth, state, label, scopes, redirectUri }: Props) { const handleClick = () => - (window.location.href = slackAuth( - state ? auth.saveOauthState(state) : auth.genOauthState(), - scopes, - redirectUri - )); + (window.location.href = slackAuth(state, scopes, redirectUri)); return (