@@ -12,19 +12,19 @@ import { dataTypeOptions } from '@/app/dummy_generator/options';
1212import type { DataType } from '@/app/dummy_generator/options' ;
1313import { AddressOptions } from '@/app/dummy_generator/options/AddressOptions' ;
1414import { NameOptions } from '@/app/dummy_generator/options/NameOptions' ;
15- import { useDummy , RecordType , DummyForm } from '@/app/dummy_generator/useDummy' ;
15+ import { useDummy , RecordType , DummyForm , COUNT_LIMIT , DEFAULT_VALUES } from '@/app/dummy_generator/useDummy' ;
1616import { FormRow } from '@/components/common/Form/FormRow' ;
17+ import { InputNumber } from '@/components/common/Form/InputNumber' ;
1718import { Select } from '@/components/common/Form/Select' ;
1819import { TextArea } from '@/components/common/Form/TextArea' ;
1920import { PageTitle } from '@/components/common/PageTitle' ;
2021import { PanelHeader } from '@/components/common/PanelHeader' ;
21- import { InputNumber } from '@/components/common/Form/InputNumber' ;
22- import { COUNT_LIMIT , DEFAULT_VALUES } from '@/app/dummy_generator/useDummy' ;
2322
2423export const DummyGenerator : FC = ( ) => {
2524 const title = 'ダミー情報の生成' ;
2625 const width = 250 ;
27- const { methods, fields, output, onClickAdd, onClickClear, onClickDelete, onClickGenerate } = useDummy ( ) ;
26+ const { methods, fields, output, onClickAdd, onClickClear, onClickDelete, onClickGenerate } =
27+ useDummy ( ) ;
2828 const { watch, control } = methods ;
2929
3030 const source = fields . map ( ( value , index ) => {
@@ -81,7 +81,6 @@ export const DummyGenerator: FC = () => {
8181 name = "count"
8282 control = { control }
8383 />
84-
8584 </ FormRow >
8685 < Button type = "primary" onClick = { onClickGenerate } >
8786 生成
0 commit comments