From 884fd83dc7e7d74f8e31ff45fb67de550b28708d Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 23 Aug 2024 10:21:00 +0800 Subject: [PATCH] feat: Remove Typography from SwitchForm #1739 (#2059) ### What problem does this PR solve? feat: Remove Typography from SwitchForm #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/pages/flow/switch-form/index.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/web/src/pages/flow/switch-form/index.tsx b/web/src/pages/flow/switch-form/index.tsx index 6f9d11a83..c3f772bfd 100644 --- a/web/src/pages/flow/switch-form/index.tsx +++ b/web/src/pages/flow/switch-form/index.tsx @@ -1,5 +1,5 @@ import { CloseOutlined } from '@ant-design/icons'; -import { Button, Card, Divider, Form, Input, Select, Typography } from 'antd'; +import { Button, Card, Divider, Form, Input, Select } from 'antd'; import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { @@ -181,14 +181,6 @@ const SwitchForm = ({ onValuesChange, node, form }: IOperatorForm) => { options={buildCategorizeToOptions(getSelectedConditionTos())} /> - - - {() => ( - -
{JSON.stringify(form?.getFieldsValue(), null, 2)}
-
- )} -
); };