File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/compass-data-modeling/src/components Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,17 @@ const FormStepContainer: React.FunctionComponent<{
9292 < ModalFooter className = { footerStyles } >
9393 < Body className = { footerTextStyles } > { footerText } </ Body >
9494 < div className = { footerActionsStyles } >
95- < Button onClick = { onPreviousClick } > { previousLabel } </ Button >
95+ < Button onClick = { onPreviousClick } key = { `${ step } -previous` } >
96+ { previousLabel }
97+ </ Button >
9698 < Button
9799 onClick = { onNextClick }
98100 disabled = { isNextDisabled }
99101 isLoading = { isLoading }
100102 data-testid = "new-diagram-confirm-button"
101103 variant = "primary"
102104 loadingIndicator = { < SpinLoader /> }
105+ key = { `${ step } -next` }
103106 >
104107 { nextLabel }
105108 </ Button >
@@ -143,7 +146,7 @@ function SelectCollectionsStep({
143146 } }
144147 />
145148 < SelectList
146- className = { selectListStyles }
149+ className = { SelectListStyles }
147150 items = { filteredCollections . map ( ( collName ) => {
148151 return {
149152 id : collName ,
You can’t perform that action at this time.
0 commit comments