From f06fa3f9b73f7fd652f6fe104dec7adf24ad5969 Mon Sep 17 00:00:00 2001 From: GyDi Date: Wed, 14 Dec 2022 15:16:49 +0800 Subject: [PATCH] fix: use list item button --- src/components/proxy/proxy-render.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/proxy/proxy-render.tsx b/src/components/proxy/proxy-render.tsx index f0d197f..07d0745 100644 --- a/src/components/proxy/proxy-render.tsx +++ b/src/components/proxy/proxy-render.tsx @@ -1,8 +1,8 @@ import { alpha, Box, - ListItem, ListItemText, + ListItemButton, Typography, styled, } from "@mui/material"; @@ -33,8 +33,7 @@ export const ProxyRender = (props: RenderProps) => { if (type === 0) { return ( - onHeadState(group.name, { open: !headState?.open })} > @@ -58,7 +57,7 @@ export const ProxyRender = (props: RenderProps) => { }} /> {headState?.open ? : } - + ); }