diff --git a/src/components/ServerNotices.js b/src/components/ServerNotices.js
index 631a849..751bada 100644
--- a/src/components/ServerNotices.js
+++ b/src/components/ServerNotices.js
@@ -1,4 +1,4 @@
-import React, { Fragment, useState } from "react";
+import React, { useState } from "react";
import {
Button,
SaveButton,
@@ -93,7 +93,7 @@ export const ServerNoticeButton = () => {
};
return (
-
+ <>
+ >
);
};
@@ -138,7 +138,7 @@ export const ServerNoticeBulkButton = () => {
};
return (
-
+ <>
+ >
);
};
diff --git a/src/components/devices.js b/src/components/devices.js
index a698d97..0ead86d 100644
--- a/src/components/devices.js
+++ b/src/components/devices.js
@@ -1,4 +1,4 @@
-import React, { Fragment, useState } from "react";
+import React, { useState } from "react";
import {
Button,
useDelete,
@@ -41,7 +41,7 @@ export const DeviceRemoveButton = props => {
};
return (
-
+ <>
+ >
);
};
diff --git a/src/components/media.js b/src/components/media.js
index 5c2f361..4e7a488 100644
--- a/src/components/media.js
+++ b/src/components/media.js
@@ -1,4 +1,4 @@
-import React, { Fragment, useState } from "react";
+import React, { useState } from "react";
import {
BooleanInput,
Button,
@@ -119,7 +119,7 @@ export const DeleteMediaButton = props => {
};
return (
-
+ <>
+ >
);
};
@@ -193,7 +193,7 @@ export const ProtectMediaButton = props => {
Wrapping Tooltip with
https://github.com/marmelab/react-admin/issues/4349#issuecomment-578594735
*/
-
+ <>
{record.quarantined_by && (
{
)}
-
+ >
);
};
@@ -285,7 +285,7 @@ export const QuarantineMediaButton = props => {
};
return (
-
+ <>
{record.safe_from_quarantine && (
{
)}
-
+ >
);
};
diff --git a/src/components/rooms.js b/src/components/rooms.js
index eff2f16..7d46538 100644
--- a/src/components/rooms.js
+++ b/src/components/rooms.js
@@ -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 = () => (
-
+ <>
(
confirmContent="resources.rooms.action.erase.content"
mutationMode="pessimistic"
/>
-
+ >
);
const RoomFilter = props => (
diff --git a/src/components/users.js b/src/components/users.js
index 1e21c90..26853ac 100644
--- a/src/components/users.js
+++ b/src/components/users.js
@@ -1,4 +1,4 @@
-import React, { cloneElement, Fragment } from "react";
+import React, { cloneElement } from "react";
import AssignmentIndIcon from "@mui/icons-material/AssignmentInd";
import ContactMailIcon from "@mui/icons-material/ContactMail";
import DevicesIcon from "@mui/icons-material/Devices";
@@ -138,7 +138,7 @@ const UserFilter = props => (
);
const UserBulkActionButtons = props => (
-
+ <>
(
confirmTitle="resources.users.helper.erase"
mutationMode="pessimistic"
/>
-
+ >
);
export const UserList = props => {