From b2bc5c0dd11f94c0c5d31ea0aaca3eb089899fae Mon Sep 17 00:00:00 2001 From: xiaoyatong <84436086+xiaoyatong@users.noreply.github.com> Date: Sat, 9 Nov 2024 15:57:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC=20(#29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/generate-react.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/generate-react.ts b/scripts/generate-react.ts index e6ccb1f..f63746d 100644 --- a/scripts/generate-react.ts +++ b/scripts/generate-react.ts @@ -70,14 +70,8 @@ import { default as Icon2 } from '../IconHarmonyTemplate' const IconSVG:FunctionComponent = (props: SVG_IconProps) => { const realProps = { ...defaultProps, ...props } - return ( - <> { - process.env.TARO_ENV !== 'jdharmony_cpp' ? - : - - } - + <>{process.env.TARO_ENV !== 'jdharmony_cpp' ? : } ) }