From 6ade0b2b1ab599297bae2d439067bbfed3a4c257 Mon Sep 17 00:00:00 2001 From: GyDi Date: Wed, 6 Apr 2022 22:52:00 +0800 Subject: [PATCH] fix: icon button color inherit --- src/components/proxy/proxy-global.tsx | 10 +++++++++- src/components/proxy/proxy-group.tsx | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/proxy/proxy-global.tsx b/src/components/proxy/proxy-global.tsx index b0b1982..ee22542 100644 --- a/src/components/proxy/proxy-global.tsx +++ b/src/components/proxy/proxy-global.tsx @@ -124,18 +124,25 @@ const ProxyGlobal = (props: Props) => { onLocation(true)} > - + setShowType(!showType)} > {showType ? : } @@ -144,6 +151,7 @@ const ProxyGlobal = (props: Props) => { setShowFilter(!showFilter)} > {showFilter ? : } diff --git a/src/components/proxy/proxy-group.tsx b/src/components/proxy/proxy-group.tsx index 9077275..81ff9f4 100644 --- a/src/components/proxy/proxy-group.tsx +++ b/src/components/proxy/proxy-group.tsx @@ -149,18 +149,25 @@ const ProxyGroup = ({ group }: Props) => { onLocation(true)} > - + setShowType(!showType)} > {showType ? : } @@ -169,6 +176,7 @@ const ProxyGroup = ({ group }: Props) => { setShowFilter(!showFilter)} > {showFilter ? : }