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

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 <Button
disabled={isRequestActive} disabled={isRequestActive}