docs: fix typos in packages/ui/src/layout/MainLayout/Sidebar/MenuList/NavGroup/index.jsx (#5444)

Fix typos in packages/ui/src/layout/MainLayout/Sidebar/MenuList/NavGroup/index.jsx
This commit is contained in:
Lê Nam Khánh 2025-11-07 18:48:15 +07:00 committed by GitHub
parent 761ffe6851
commit b9a020dc70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const NavGroup = ({ item }) => {
const renderNonPrimaryGroups = () => {
let nonprimaryGroups = item.children.filter((child) => child.id !== 'primary')
// Display chilren based on permission and display
// Display children based on permission and display
nonprimaryGroups = nonprimaryGroups.map((group) => {
const children = group.children.filter((menu) => shouldDisplayMenu(menu))
return { ...group, children }