Update contentItems in DefaultImportPage.tsx
Fixes 'Warning: Each child in a list should have a unique "key" prop.' Signed-off-by: Arturs Jansons <a.jansons@gmail.com>
This commit is contained in:
committed by
Camila Belo
parent
49cfeaaec8
commit
dac60d5d53
@@ -39,11 +39,11 @@ export const DefaultImportPage = () => {
|
||||
const appTitle = configApi.getOptionalString('app.title') || 'Backstage';
|
||||
|
||||
const contentItems = [
|
||||
<Grid item xs={12} md={4} lg={6} xl={8}>
|
||||
<Grid key={0} item xs={12} md={4} lg={6} xl={8}>
|
||||
<ImportInfoCard />
|
||||
</Grid>,
|
||||
|
||||
<Grid item xs={12} md={8} lg={6} xl={4}>
|
||||
<Grid key={1} item xs={12} md={8} lg={6} xl={4}>
|
||||
<ImportStepper />
|
||||
</Grid>,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user