aboutsummaryrefslogtreecommitdiff
path: root/src/Feed
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123.@mail.com>2020-06-07 20:10:39 +0300
committerilyayudovin <ilyayudovin123.@mail.com>2020-06-07 20:10:39 +0300
commit5ff3d0a3a29ebba9c42603369bb16d7419a423d1 (patch)
treeeafa0336aae182bcf3c05d14cf56bd8a9d85c374 /src/Feed
parent9af3ee7da28c3acbd434602592c517b025d93252 (diff)
downloadwhich-ui-5ff3d0a3a29ebba9c42603369bb16d7419a423d1.tar.gz
fix: change props again
Diffstat (limited to 'src/Feed')
-rw-r--r--src/Feed/Feed.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Feed/Feed.tsx b/src/Feed/Feed.tsx
index ef82b38..e5bc9aa 100644
--- a/src/Feed/Feed.tsx
+++ b/src/Feed/Feed.tsx
@@ -20,7 +20,7 @@ const Feed: React.FC<PropTypes> = ({ polls }) => {
return (
<div className={classes.feed}>
{
- polls.map(poll => <PollCard author={poll.author} contents={poll.contents} />)
+ polls.map(poll => <PollCard poll={poll} />)
}
</div>
);