EditGroup: remove toast

This commit is contained in:
Alex Gleason 2023-04-05 15:57:33 -05:00
parent a875163ed9
commit 7a3f98ca64
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -5,7 +5,6 @@ import { Button, Column, Form, FormActions, FormGroup, Icon, Input, Spinner, Tex
import { useAppSelector, useInstance } from 'soapbox/hooks';
import { useGroup, useUpdateGroup } from 'soapbox/hooks/api';
import { useImageField, useTextField } from 'soapbox/hooks/forms';
import toast from 'soapbox/toast';
import { isDefaultAvatar, isDefaultHeader } from 'soapbox/utils/accounts';
import AvatarPicker from './components/group-avatar-picker';
@ -64,7 +63,6 @@ const EditGroup: React.FC<IEditGroup> = ({ params: { id: groupId } }) => {
tags,
});
toast.success(intl.formatMessage(messages.success));
setIsSubmitting(false);
}