File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/compass-collection/src/components/mock-data-generator-modal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { default as SchemaConfirmationScreen } from './raw-schema-confirmation';
25
25
import FakerSchemaEditor from './faker-schema-editor' ;
26
26
import ScriptScreen from './script-screen' ;
27
27
28
- const STEP_TO_COMPONENT : Record < MockDataGeneratorStep , React . JSX . Element > = {
28
+ const STEP_TO_STEP_CONTENT : Record < MockDataGeneratorStep , React . JSX . Element > = {
29
29
[ MockDataGeneratorStep . SCHEMA_CONFIRMATION ] : < SchemaConfirmationScreen /> ,
30
30
[ MockDataGeneratorStep . SCHEMA_EDITOR ] : < FakerSchemaEditor /> ,
31
31
[ MockDataGeneratorStep . DOCUMENT_COUNT ] : < > </ > , // TODO: Implement as part of CLOUDP-XXXXXX
@@ -85,7 +85,7 @@ const MockDataGeneratorModal = ({
85
85
< ModalHeader title = "Generate Mock Data" />
86
86
< ModalBody >
87
87
< div data-testid = { `generate-mock-data-step-${ currentStep } ` } >
88
- { STEP_TO_COMPONENT [ currentStep ] }
88
+ { STEP_TO_STEP_CONTENT [ currentStep ] }
89
89
</ div >
90
90
</ ModalBody >
91
91
< ModalFooter className = { footerStyles } >
You can’t perform that action at this time.
0 commit comments