Skip to content

Commit

Permalink
change: M3-8373 - removed unused classes
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-akamai committed Oct 22, 2024
1 parent 19628a8 commit 391f63d
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
import { MaintenanceTableRow } from './MaintenanceTableRow';

import type { AccountMaintenance, Filter } from '@linode/api-v4';
import type { Theme } from '@mui/material/styles';

const preferenceKey = 'account-maintenance';

Expand All @@ -42,25 +41,17 @@ const headersForCSVDownload = [
{ key: 'reason', label: 'Reason' },
];

const useStyles = makeStyles()((theme: Theme) => ({
const useStyles = makeStyles()(() => ({
cell: {
width: '12%',
},
headingContainer: {
marginBottom: theme.spacing(1),
marginTop: theme.spacing(1.5),
[theme.breakpoints.down('md')]: {
paddingLeft: theme.spacing(),
paddingRight: theme.spacing(),
},
},
}));

interface Props {
type: 'completed' | 'pending';
}

const MaintenanceTable = ({ type }: Props) => {
export const MaintenanceTable = ({ type }: Props) => {
const csvRef = React.useRef<any>();
const { classes } = useStyles();
const pagination = usePagination(1, `${preferenceKey}-${type}`, type);
Expand Down Expand Up @@ -233,5 +224,3 @@ const MaintenanceTable = ({ type }: Props) => {
</Box>
);
};

export { MaintenanceTable };

0 comments on commit 391f63d

Please sign in to comment.