Skip to content
Snippets Groups Projects
Unverified Commit f06fa3f9 authored by GyDi's avatar GyDi
Browse files

fix: use list item button

parent 6337788a
No related branches found
No related tags found
No related merge requests found
import {
alpha,
Box,
ListItem,
ListItemText,
ListItemButton,
Typography,
styled,
} from "@mui/material";
......@@ -33,8 +33,7 @@ export const ProxyRender = (props: RenderProps) => {
if (type === 0) {
return (
<ListItem
button
<ListItemButton
dense
onClick={() => onHeadState(group.name, { open: !headState?.open })}
>
......@@ -58,7 +57,7 @@ export const ProxyRender = (props: RenderProps) => {
}}
/>
{headState?.open ? <ExpandLessRounded /> : <ExpandMoreRounded />}
</ListItem>
</ListItemButton>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment