mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
delint
This commit is contained in:
parent
2114e854f9
commit
737aa1c55d
@ -417,10 +417,13 @@ const AddExistingToSpaceDialog: React.FC<IProps> = ({ space, onCreateRoomClick,
|
|||||||
onFinished={onFinished}
|
onFinished={onFinished}
|
||||||
footerPrompt={<>
|
footerPrompt={<>
|
||||||
<div>{ _t("Want to add a new room instead?") }</div>
|
<div>{ _t("Want to add a new room instead?") }</div>
|
||||||
<AccessibleButton kind="link" onClick={() => {
|
<AccessibleButton
|
||||||
onCreateRoomClick();
|
kind="link"
|
||||||
onFinished();
|
onClick={() => {
|
||||||
}}>
|
onCreateRoomClick();
|
||||||
|
onFinished();
|
||||||
|
}}
|
||||||
|
>
|
||||||
{ _t("Create a new room") }
|
{ _t("Create a new room") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</>}
|
</>}
|
||||||
@ -429,10 +432,13 @@ const AddExistingToSpaceDialog: React.FC<IProps> = ({ space, onCreateRoomClick,
|
|||||||
spacesRenderer={() => (
|
spacesRenderer={() => (
|
||||||
<div className="mx_AddExistingToSpace_section">
|
<div className="mx_AddExistingToSpace_section">
|
||||||
<h3>{ _t("Spaces") }</h3>
|
<h3>{ _t("Spaces") }</h3>
|
||||||
<AccessibleButton kind="link" onClick={() => {
|
<AccessibleButton
|
||||||
onAddSubspaceClick();
|
kind="link"
|
||||||
onFinished();
|
onClick={() => {
|
||||||
}}>
|
onAddSubspaceClick();
|
||||||
|
onFinished();
|
||||||
|
}}
|
||||||
|
>
|
||||||
{ _t("Adding spaces has moved.") }
|
{ _t("Adding spaces has moved.") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</div>
|
</div>
|
||||||
|
@ -160,10 +160,13 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
|
|||||||
<div className="mx_CreateSubspaceDialog_footer">
|
<div className="mx_CreateSubspaceDialog_footer">
|
||||||
<div className="mx_CreateSubspaceDialog_footer_prompt">
|
<div className="mx_CreateSubspaceDialog_footer_prompt">
|
||||||
<div>{ _t("Want to add an existing space instead?") }</div>
|
<div>{ _t("Want to add an existing space instead?") }</div>
|
||||||
<AccessibleButton kind="link" onClick={() => {
|
<AccessibleButton
|
||||||
onAddExistingSpaceClick();
|
kind="link"
|
||||||
onFinished();
|
onClick={() => {
|
||||||
}}>
|
onAddExistingSpaceClick();
|
||||||
|
onFinished();
|
||||||
|
}}
|
||||||
|
>
|
||||||
{ _t("Add existing space") }
|
{ _t("Add existing space") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user