From e04ec712ea5582d32dc723cc1ebcef4d192ab185 Mon Sep 17 00:00:00 2001 From: kunish Date: Sun, 17 Sep 2023 03:09:56 +0800 Subject: [PATCH] perf: batch signals --- src/pages/Setup.tsx | 10 +++++----- src/signals/proxies.ts | 20 +++++++++++++------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/pages/Setup.tsx b/src/pages/Setup.tsx index 61c6039..78926b9 100644 --- a/src/pages/Setup.tsx +++ b/src/pages/Setup.tsx @@ -131,7 +131,7 @@ export default () => { }) return ( -
+
@@ -165,20 +165,20 @@ export default () => { />
-
-
+
{({ id, url }) => (
onEndpointSelect(id)} > - {url} + {url}