aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/PollsList/RenderItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/PollsList/RenderItem.tsx b/src/components/PollsList/RenderItem.tsx
index 5123bca..beed259 100644
--- a/src/components/PollsList/RenderItem.tsx
+++ b/src/components/PollsList/RenderItem.tsx
@@ -35,7 +35,7 @@ const RenderItem: React.FC<PropTypes> = React.memo(({
}, [mutate, index, polls]);
return (
- <div key={_key} style={style}>
+ <div key={`${_key}-${poll._id}`} style={style}>
<PollCard poll={poll} setPoll={setPoll} />
</div>
);