mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-24 02:02:35 -04:00
refactor: menu option key
This commit is contained in:
parent
5f74037105
commit
390ef93232
@ -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
|
||||
}))
|
||||
}))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user