[Chat] Fix navigation stacking on messages links in split view (#10741)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -481,6 +481,9 @@ function BaseChatItem({
|
||||
|
||||
<Link
|
||||
to={`/messages/${convo.view.id}`}
|
||||
// In split view, this list stays mounted alongside the open convo,
|
||||
// so push would stack duplicate routes on repeated clicks.
|
||||
action={isWithinSplitView ? 'navigate' : 'push'}
|
||||
label={title}
|
||||
accessibilityHint={accessibilityHint}
|
||||
accessibilityActions={
|
||||
|
||||
Reference in New Issue
Block a user