diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-25 13:52:03 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-25 13:52:03 +0300 |
commit | 3e92c59a0a79646f77a6f882d3543ecde7cb2dc8 (patch) | |
tree | 6968f3e702d14d7351596eb355be7febb44bf74c /src/components/Feed/Feed.tsx | |
parent | 0204f48a00543ea876efc83260f244f7c14d8a82 (diff) | |
download | which-ui-3e92c59a0a79646f77a6f882d3543ecde7cb2dc8.tar.gz |
feat: use latest API
Diffstat (limited to 'src/components/Feed/Feed.tsx')
-rw-r--r-- | src/components/Feed/Feed.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Feed/Feed.tsx b/src/components/Feed/Feed.tsx index c649935..d81da99 100644 --- a/src/components/Feed/Feed.tsx +++ b/src/components/Feed/Feed.tsx @@ -21,7 +21,7 @@ const Feed: React.FC<PropTypes> = ({ polls, navigate }) => { return ( <div className={classes.root}> - {polls.map(poll => <PollCard poll={poll} key={poll._id} navigate={navigate} />)} + {polls.map(poll => <PollCard initialPoll={poll} key={poll._id} navigate={navigate} />)} </div> ); }; |