Skip to content

Commit

Permalink
🐛 fix: Fix active setting tab after click agent setting button
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Dec 25, 2023
1 parent dc53892 commit c480fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/chat/features/ChatHeader/SettingButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const SettingButton = memo<{ mobile?: boolean }>(({ mobile }) => {
onClick={() => {
if (isInbox) {
useGlobalStore.setState({
settingsTab: SettingsTabs.Common,
settingsTab: SettingsTabs.Agent,
sidebarKey: SidebarTabKey.Setting,
});
router.push('/settings/agent');
Expand Down

0 comments on commit c480fa9

Please sign in to comment.