Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
import React, { ComponentProps, useMemo, useState } from 'react';
|
||||
import React, { ComponentProps, useMemo, useState } from "react";
|
||||
import { Room } from "matrix-js-sdk/src/models/room";
|
||||
|
||||
import ConfirmUserActionDialog from "./ConfirmUserActionDialog";
|
||||
|
@ -55,9 +55,7 @@ const ConfirmSpaceUserActionDialog: React.FC<IProps> = ({
|
|||
|
||||
let warning: JSX.Element;
|
||||
if (warningMessage) {
|
||||
warning = <div className="mx_ConfirmSpaceUserActionDialog_warning">
|
||||
{ warningMessage }
|
||||
</div>;
|
||||
warning = <div className="mx_ConfirmSpaceUserActionDialog_warning">{warningMessage}</div>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -69,7 +67,7 @@ const ConfirmSpaceUserActionDialog: React.FC<IProps> = ({
|
|||
className="mx_ConfirmSpaceUserActionDialog"
|
||||
roomId={space.roomId}
|
||||
>
|
||||
{ warning }
|
||||
{warning}
|
||||
<SpaceChildrenPicker
|
||||
space={space}
|
||||
spaceChildren={spaceChildren}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue