fix users and ImportFeature

This commit is contained in:
dklimpel 2023-02-03 10:00:08 +01:00
parent d76ab36e32
commit 18fb8a7f77
2 changed files with 2 additions and 8 deletions

View File

@ -1,12 +1,6 @@
import React, { useState } from "react"; import React, { useState } from "react";
import { import { useDataProvider, useNotify, Title } from "react-admin";
Button as ReactAdminButton,
useDataProvider,
useNotify,
Title,
} from "react-admin";
import { parse as parseCsv, unparse as unparseCsv } from "papaparse"; import { parse as parseCsv, unparse as unparseCsv } from "papaparse";
import GetAppIcon from "@mui/icons-material/GetApp";
import { import {
Button, Button,
Card, Card,

View File

@ -117,7 +117,7 @@ const UserListActions = ({
/> />
{/* Add your custom actions */} {/* Add your custom actions */}
<Button component={Link} to={redirect} label="CSV Import"> <Button component={Link} to={redirect} label="CSV Import">
<GetAppIcon style={{ transform: "rotate(180deg)", fontSize: "20" }} /> <GetAppIcon sx={{ transform: "rotate(180deg)", fontSize: "20px" }} />
</Button> </Button>
</TopToolbar> </TopToolbar>
); );