diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-28 19:32:48 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-28 19:32:48 +0300 |
commit | 28c80d1c2e33706a3a754b3e5e26dc2685cf8592 (patch) | |
tree | 3fada7e63634d1f2e1c07a0794c725d33b2b2b4f /src/pages/FeedPage/PollSubmission.tsx | |
parent | 7ad127942bb12ee9de691e10dc9386849459ea46 (diff) | |
download | which-ui-28c80d1c2e33706a3a754b3e5e26dc2685cf8592.tar.gz |
fix: able to add 2 different images to poll submission
Diffstat (limited to 'src/pages/FeedPage/PollSubmission.tsx')
-rw-r--r-- | src/pages/FeedPage/PollSubmission.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/FeedPage/PollSubmission.tsx b/src/pages/FeedPage/PollSubmission.tsx index c76e9fb..40ca3d7 100644 --- a/src/pages/FeedPage/PollSubmission.tsx +++ b/src/pages/FeedPage/PollSubmission.tsx @@ -68,8 +68,8 @@ const PollSubmission: React.FC<PropTypes> = ({ user }) => { <UserStrip user={user} info="" navigate={() => {}} /> <Divider /> <CardMedia className={classes.card}> - <PollSubmissionImage which="left" setContents={setContents} /> - <PollSubmissionImage which="right" setContents={setContents} /> + <PollSubmissionImage which="left" setContents={setContents} contents={contents}/> + <PollSubmissionImage which="right" setContents={setContents} contents={contents}/> </CardMedia> </Collapse> <Button onClick={handleClick} color="primary" variant="outlined" className={classes.button}> |