Remove duplicate modal footer from group edit

This commit is contained in:
Fedor Indutny 2022-11-15 09:33:04 -08:00 committed by GitHub
parent 4e624c7286
commit 7b703fdd5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,7 +204,8 @@ export const EditConversationAttributesModal: FunctionComponent<PropsType> = ({
);
}
const modalFooter = (
// AvatarEditor brings its own footer with it so no need to duplicate it.
const modalFooter = editingAvatar ? undefined : (
<>
<Button
disabled={isRequestActive}