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