We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e916a6e commit 28f4da7Copy full SHA for 28f4da7
packages/compass-components/src/components/breadcrumb.tsx
@@ -1,4 +1,4 @@
1
-import React from 'react';
+import React, { Fragment } from 'react';
2
import { spacing } from '@leafygreen-ui/tokens';
3
import { css, cx } from '@leafygreen-ui/emotion';
4
import { palette } from '@leafygreen-ui/palette';
@@ -77,9 +77,8 @@ export const Breadcrumbs = ({
77
);
78
}
79
return (
80
- <>
+ <Fragment key={item.name}>
81
<Link
82
- key={item.name}
83
as="button"
84
hideExternalIcon={true}
85
className={cx(breadcrumbButtonStyles, textStyles)}
@@ -101,7 +100,7 @@ export const Breadcrumbs = ({
101
100
color={palette.gray.light1}
102
className={iconStyles}
103
/>
104
- </>
+ </Fragment>
105
106
})}
107
</div>
0 commit comments