aboutsummaryrefslogtreecommitdiff
path: root/src/components/Feed
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-06-25 14:41:14 +0300
committerGitHub <noreply@github.com>2020-06-25 14:41:14 +0300
commit9dfc98d5014f91afb45ad4eebbe9f0f704ddfdf5 (patch)
treeb5a47cce16b224dd74625db72f721e5e797a1611 /src/components/Feed
parent190916329611704b1035158363302f09152794ee (diff)
parenta3afe917442fb29627aa9deade1baefbea9a60c5 (diff)
downloadwhich-ui-9dfc98d5014f91afb45ad4eebbe9f0f704ddfdf5.tar.gz
Merge pull request #41 from which-ecosystem/votes
Votes
Diffstat (limited to 'src/components/Feed')
-rw-r--r--src/components/Feed/Feed.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Feed/Feed.tsx b/src/components/Feed/Feed.tsx
index 3b8e16f..d81da99 100644
--- a/src/components/Feed/Feed.tsx
+++ b/src/components/Feed/Feed.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
-import { Poll } from '../../types';
+import { Poll } from 'which-types';
import PollCard from '../PollCard/PollCard';
interface PropTypes {
@@ -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>
);
};