aboutsummaryrefslogtreecommitdiff
path: root/src/pages/FeedPage/FeedPage.tsx
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123@gmail.com>2020-06-29 15:35:34 +0300
committerilyayudovin <ilyayudovin123@gmail.com>2020-06-29 15:35:34 +0300
commit0852cbeea6a3872c4a3a4b7dd974db53eb0a85dd (patch)
treeec37eb3635a44bd8654739f126fa8ba55cb759af /src/pages/FeedPage/FeedPage.tsx
parent4037868a791c706c4d77d6353e396cb6454995be (diff)
downloadwhich-ui-0852cbeea6a3872c4a3a4b7dd974db53eb0a85dd.tar.gz
show new poll right after submit
Diffstat (limited to 'src/pages/FeedPage/FeedPage.tsx')
-rw-r--r--src/pages/FeedPage/FeedPage.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/FeedPage/FeedPage.tsx b/src/pages/FeedPage/FeedPage.tsx
index afe2ef7..a7bbbbd 100644
--- a/src/pages/FeedPage/FeedPage.tsx
+++ b/src/pages/FeedPage/FeedPage.tsx
@@ -22,7 +22,7 @@ const FeedPage: React.FC<PropTypes> = ({ navigate, user }) => {
return (
<>
- {user && <PollSubmission user={user} />}
+ {user && <PollSubmission user={user} polls={polls} setPolls={setPolls}/>}
<Feed polls={polls} navigate={navigate} />
</>
);