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';
2525import FakerSchemaEditor from './faker-schema-editor' ;
2626import ScriptScreen from './script-screen' ;
2727
28- const STEP_TO_COMPONENT : Record < MockDataGeneratorStep , React . JSX . Element > = {
28+ const STEP_TO_STEP_CONTENT : Record < MockDataGeneratorStep , React . JSX . Element > = {
2929 [ MockDataGeneratorStep . SCHEMA_CONFIRMATION ] : < SchemaConfirmationScreen /> ,
3030 [ MockDataGeneratorStep . SCHEMA_EDITOR ] : < FakerSchemaEditor /> ,
3131 [ MockDataGeneratorStep . DOCUMENT_COUNT ] : < > </ > , // TODO: Implement as part of CLOUDP-XXXXXX
@@ -85,7 +85,7 @@ const MockDataGeneratorModal = ({
8585 < ModalHeader title = "Generate Mock Data" />
8686 < ModalBody >
8787 < div data-testid = { `generate-mock-data-step-${ currentStep } ` } >
88- { STEP_TO_COMPONENT [ currentStep ] }
88+ { STEP_TO_STEP_CONTENT [ currentStep ] }
8989 </ div >
9090 </ ModalBody >
9191 < ModalFooter className = { footerStyles } >
You can’t perform that action at this time.
0 commit comments