Improved button styling

Added toast when collection permissions are saved
Removed usage of setState (old habits die hard)
This commit is contained in:
Tom Moor
2019-01-05 18:23:57 -08:00
parent 713473b7d2
commit f80e4ab04c
11 changed files with 131 additions and 112 deletions

View File

@@ -17,7 +17,11 @@ function SlackButton({ state, scopes, redirectUri, label }: Props) {
(window.location.href = slackAuth(state, scopes, redirectUri));
return (
<Button onClick={handleClick} icon={<SpacedSlackLogo size={24} />} neutral>
<Button
onClick={handleClick}
icon={<SpacedSlackLogo size={24} fill="#000" />}
neutral
>
{label ? (
label
) : (