Removes ReactWrapperView

This commit is contained in:
Josh Perez 2022-12-21 22:07:45 -05:00 committed by GitHub
parent dec23725e5
commit 0b83ab497d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 444 additions and 396 deletions

View file

@ -45,6 +45,22 @@ export function ToastManager({
);
}
if (toastType === ToastType.AlreadyGroupMember) {
return (
<Toast onClose={hideToast}>
{i18n('GroupV2--join--already-in-group')}
</Toast>
);
}
if (toastType === ToastType.AlreadyRequestedToJoin) {
return (
<Toast onClose={hideToast}>
{i18n('GroupV2--join--already-awaiting-approval')}
</Toast>
);
}
if (toastType === ToastType.Blocked) {
return <Toast onClose={hideToast}>{i18n('unblockToSend')}</Toast>;
}