diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-29 15:35:34 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-29 15:35:34 +0300 |
commit | 0852cbeea6a3872c4a3a4b7dd974db53eb0a85dd (patch) | |
tree | ec37eb3635a44bd8654739f126fa8ba55cb759af /src/pages/FeedPage/FeedPage.tsx | |
parent | 4037868a791c706c4d77d6353e396cb6454995be (diff) | |
download | which-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.tsx | 2 |
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} /> </> ); |