fix(discover): update backPath to include query parameters in FeedCardActions

This commit is contained in:
lawvs 2025-09-22 18:46:28 +08:00
parent 11bfa8ed5c
commit a9e8f32c8e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export function FeedCardActions<T extends TrendingFeedItem | DiscoveryItem>({
navigateEntry({
feedId: item.feed.id,
view: item.analytics?.view ?? 0,
backPath: location.pathname,
backPath: `${location.pathname}${location.search}`,
})
}}
>