소스 검색

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 년 전
부모
커밋
884fd83dc7
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 9개의 파일을 삭제
  1. 1
    9
      web/src/pages/flow/switch-form/index.tsx

+ 1
- 9
web/src/pages/flow/switch-form/index.tsx 파일 보기

import { CloseOutlined } from '@ant-design/icons'; 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 { useMemo } from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { import {
options={buildCategorizeToOptions(getSelectedConditionTos())} options={buildCategorizeToOptions(getSelectedConditionTos())}
/> />
</Form.Item> </Form.Item>

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

Loading…
취소
저장