mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-17 07:11:10 +01:00
Fix leave space cancel button exploding
This commit is contained in:
parent
d93c220aae
commit
c0d9c69f16
@ -100,7 +100,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
|
|||||||
primaryButton={_t("Leave space")}
|
primaryButton={_t("Leave space")}
|
||||||
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
|
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
|
||||||
hasCancel={true}
|
hasCancel={true}
|
||||||
onCancel={onFinished}
|
onCancel={() => onFinished(false)}
|
||||||
/>
|
/>
|
||||||
</BaseDialog>;
|
</BaseDialog>;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user