mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-31 18:38:59 -05:00
fix: adds keys to mapped components
This commit is contained in:
@@ -42,7 +42,7 @@ export const Icons = ({ icons, onClose }: Props) => {
|
||||
<Sidebar header={<Header title="Icons" onClose={onClose} />}>
|
||||
<Grid container spacing={4}>
|
||||
{categorisedIcons.map((cat) => (
|
||||
<Grid item xs={12} key={cat.name}>
|
||||
<Grid item xs={12} key={`icon-category-${cat.name}`}>
|
||||
<IconCategory {...cat} />
|
||||
</Grid>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user