Actionable toasts

This commit is contained in:
Josh Perez 2021-10-06 17:00:51 -04:00 committed by GitHub
parent d542f450a1
commit b9134f8332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 148 additions and 59 deletions

View file

@ -14,9 +14,5 @@ export const ToastReactionFailed = ({
i18n,
onClose,
}: PropsType): JSX.Element => {
return (
<Toast onClick={onClose} onClose={onClose}>
{i18n('Reactions--error')}
</Toast>
);
return <Toast onClose={onClose}>{i18n('Reactions--error')}</Toast>;
};