diff --git a/src/pages/Proxies.tsx b/src/pages/Proxies.tsx
index dc5ae09..dc85816 100644
--- a/src/pages/Proxies.tsx
+++ b/src/pages/Proxies.tsx
@@ -64,7 +64,8 @@ export default () => {
>
@@ -72,7 +73,7 @@ export default () => {
{proxy.type} {proxy.now?.length > 0 && ` :: ${proxy.now}`}
-
+
{
return (
- setCollapsedMap(`group-${proxy.name}`, val)
- }
+ onCollapse={(val) => setCollapsedMap(proxy.name, val)}
/>
)
})}
diff --git a/src/pages/ProxyProvider.tsx b/src/pages/ProxyProvider.tsx
index 58fb7d8..b4c3303 100644
--- a/src/pages/ProxyProvider.tsx
+++ b/src/pages/ProxyProvider.tsx
@@ -63,7 +63,9 @@ export default () => {
onClick={(e) => onUpdateAllProviderClick(e)}
>
@@ -88,7 +90,8 @@ export default () => {
>
@@ -100,7 +103,7 @@ export default () => {
@@ -113,7 +116,7 @@ export default () => {
{proxyProvider.vehicleType} :: {t('updated')}{' '}
{formatTimeFromNow(proxyProvider.updatedAt)}
-
+
>
@@ -123,12 +126,10 @@ export default () => {
return (
- setCollapsedMap(`provider-${proxyProvider.name}`, val)
- }
+ onCollapse={(val) => setCollapsedMap(proxyProvider.name, val)}
/>
)
})}
diff --git a/src/pages/Rules.tsx b/src/pages/Rules.tsx
index 0c94313..aaad602 100644
--- a/src/pages/Rules.tsx
+++ b/src/pages/Rules.tsx
@@ -74,7 +74,9 @@ export default () => {
onClick={(e) => onUpdateAllProviderClick(e)}
>
@@ -95,7 +97,8 @@ export default () => {
>