We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51819a0 commit 449b680Copy full SHA for 449b680
1 file changed
src/components/Elements/CardWithActions/CardItemWithActions.tsx
@@ -11,7 +11,6 @@ import { BaseEntry } from 'src/types'
11
12
type CardItemWithActionsProps = {
13
item: BaseEntry
14
- index: number
15
source: string
16
cardItem: React.ReactNode
17
sourceType?: 'rss' | 'supported'
@@ -20,7 +19,6 @@ type CardItemWithActionsProps = {
20
19
export const CardItemWithActions = ({
21
cardItem,
22
item,
23
- index,
24
source,
25
sourceType = 'supported',
26
}: CardItemWithActionsProps) => {
@@ -73,7 +71,7 @@ export const CardItemWithActions = ({
73
71
}
74
72
75
return (
76
- <div key={`${source}-${index}`} className="blockRow">
+ <div key={item.id} className="blockRow">
77
<ShareModal
78
showModal={setShareModalData !== undefined}
79
closeModal={() => setShareModalData(undefined)}
0 commit comments