mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-28 17:55:15 +02:00
Adds a Biome rule for "no unused imports", which is something we sometimes have trouble catching. We're adding this as a warning for now. It is safely and easily fixable with `yarn lint:fix`.  
14 lines
397 B
TypeScript
14 lines
397 B
TypeScript
import { IconButton } from '@mui/material';
|
|
import { Download } from '@mui/icons-material';
|
|
import { useAccessOverviewApi } from 'hooks/api/actions/useAccessOverviewApi/useAccessOverviewApi';
|
|
|
|
export const AccessOverview = () => {
|
|
const { downloadCSV } = useAccessOverviewApi();
|
|
|
|
return (
|
|
<IconButton onClick={downloadCSV}>
|
|
<Download />
|
|
</IconButton>
|
|
);
|
|
};
|