Skip to content

Commit

Permalink
🐛 fix: The back button on the chat setting page can correctly return …
Browse files Browse the repository at this point in the history
…to the configured Agent chat page (#1272)
  • Loading branch information
sfyr111 committed Feb 9, 2024
1 parent ea305ee commit 4cc1ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/chat/settings/(desktop)/features/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Header = memo(() => {
return (
<ChatHeader
left={<ChatHeaderTitle title={t('header.session')} />}
onBackClick={() => router.push(pathString('/chat', { hash: location.hash }))}
onBackClick={() => router.push(pathString('/chat', { search: location.search }))}
right={<HeaderContent />}
showBackButton
/>
Expand Down

0 comments on commit 4cc1ad5

Please sign in to comment.