fix: group proxies render list is null

This commit is contained in:
GyDi
2022-11-21 22:10:24 +08:00
parent bd0e932910
commit b3c1c56579
3 changed files with 12 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ function ProxyRenderItem(props: RenderProps) {
if (type === 1) {
return (
<ProxyHead
sx={{ pl: indent ? 4.5 : 2.5, pr: 3, my: 1, button: { mr: 0.5 } }}
sx={{ pl: indent ? 4.5 : 2.5, pr: 3, mt: indent ? 1 : 0.5, mb: 1 }}
groupName={group.name}
headState={headState!}
onLocation={() => onLocation(group)}