Fix button border color of LeaveSpaceDialog (#8010)

This commit is contained in:
Suguru Hirahara 2022-03-10 07:52:09 +00:00 committed by GitHub
parent 7b71a9fb65
commit 93bde40568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 46 deletions

View file

@ -105,6 +105,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
</div>
<DialogButtons
primaryButton={_t("Leave space")}
primaryButtonClass="danger"
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
hasCancel={true}
onCancel={() => onFinished(false)}