fix: key warning

pull/10580/merge
zomars 2023-08-18 15:50:44 -07:00
parent a03744008c
commit e8554ed5c5
1 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ const SettingsSidebarContainer = ({
<BackButtonInSidebar name={t("back")} />
{tabsWithPermissions.map((tab) => {
return (
<>
<React.Fragment key={tab.href}>
{!["teams", "other_teams"].includes(tab.name) && (
<React.Fragment key={tab.href}>
<div className={`${!tab.children?.length ? "!mb-3" : ""}`}>
@ -560,7 +560,7 @@ const SettingsSidebarContainer = ({
</div>
</React.Fragment>
)}
</>
</React.Fragment>
);
})}
</>