Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix: fix create_session edit_agent feature flags and add more flags #3289

Merged
merged 11 commits into from
Jul 29, 2024
Prev Previous commit
Next Next commit
fix: add missing filter to MobileTabBar items
  • Loading branch information
Mingholy committed Jul 26, 2024
commit 6c0c76c8d60e665887b745283ad226091df8be63
4 changes: 2 additions & 2 deletions src/features/MobileTabBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default memo<Props>(({ className, tabBarKey }) => {
},
title: t('tab.chat'),
},
{
showMarket && {
icon: (active: boolean) => (
<Icon className={active ? styles.active : undefined} icon={Bot} />
),
Expand All @@ -61,7 +61,7 @@ export default memo<Props>(({ className, tabBarKey }) => {
onClick: openSettings,
title: t('tab.setting'),
},
].filter((item) => showMarket || item.key !== SidebarTabKey.Market),
].filter(Boolean) as MobileTabBarProps['items'],
[t],
);

Expand Down