refactor: menu option key
This commit is contained in:
1 file changed
+2
-1
@@ -21,7 +21,8 @@ const m = toolsByCategory.map(category => ({
|
||||
type: 'group',
|
||||
children: category.components.map(({ name, path, icon }) => ({
|
||||
label: makeLabel(name, path),
|
||||
icon: makeIcon(icon)
|
||||
icon: makeIcon(icon),
|
||||
key: name
|
||||
}))
|
||||
}))
|
||||
|
||||
|
||||
Reference in new issue
Block a user