Skip to content

Commit

Permalink
fix:show the same result when switching tag feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml committed Aug 26, 2022
1 parent f4d8ccd commit 1c0b9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/TagDetail/Articles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const TagDetailArticles = ({ tagId, feedType }: TagArticlesProps) => {
<InfiniteScroll hasNextPage={pageInfo.hasNextPage} loadMore={loadMore}>
<List>
{(edges || []).map(({ node, cursor }, i) => (
<React.Fragment key={cursor}>
<React.Fragment key={`${feedType}:${cursor}`}>
<List.Item>
<ArticleDigestFeed
article={node}
Expand Down

0 comments on commit 1c0b9df

Please sign in to comment.