Replace Fragment with short form

https://legacy.reactjs.org/docs/fragments.html#short-syntax

Change-Id: Ib1af57fc5e87ded8c1fee38dcbd60fae8621cb07
This commit is contained in:
Manuel Stahl
2024-02-03 13:56:33 +01:00
parent 6363e3d32e
commit 51def5775d
6 changed files with 23 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
import React, { Fragment } from "react";
import React from "react";
import {
BooleanField,
BulkDeleteButton,
@@ -279,7 +279,7 @@ export const RoomShow = props => {
};
const RoomBulkActionButtons = () => (
<Fragment>
<>
<RoomDirectoryBulkSaveButton />
<RoomDirectoryBulkDeleteButton />
<BulkDeleteButton
@@ -287,7 +287,7 @@ const RoomBulkActionButtons = () => (
confirmContent="resources.rooms.action.erase.content"
mutationMode="pessimistic"
/>
</Fragment>
</>
);
const RoomFilter = props => (