Sfoglia il codice sorgente

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)
tags/v0.10.0
balibabu 1 anno fa
parent
commit
884fd83dc7
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 9 eliminazioni
  1. 1
    9
      web/src/pages/flow/switch-form/index.tsx

+ 1
- 9
web/src/pages/flow/switch-form/index.tsx Vedi File

@@ -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())}
/>
</Form.Item>

<Form.Item noStyle shouldUpdate>
{() => (
<Typography>
<pre>{JSON.stringify(form?.getFieldsValue(), null, 2)}</pre>
</Typography>
)}
</Form.Item>
</Form>
);
};

Loading…
Annulla
Salva