Fix flow errors

This commit is contained in:
Jori Lallo
2017-05-09 23:14:24 -07:00
parent e051713177
commit 75ad27658e
19 changed files with 519 additions and 179 deletions

View File

@ -27,6 +27,7 @@ import SlackAuthLink from 'components/SlackAuthLink';
</Title>
);
// $FlowIssue global variable
const showSlackSettings = DEPLOYMENT === 'hosted';
return (
@ -47,7 +48,8 @@ import SlackAuthLink from 'components/SlackAuthLink';
<SlackAuthLink
scopes={['commands']}
redirectUri={`${URL}/auth/slack/commands`}
redirectUri={// $FlowIssue URL is a global variable
`${URL}/auth/slack/commands`}
>
<img
alt="Add to Slack"