diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-30 00:41:09 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-30 00:41:09 +0300 |
commit | 1499c0126d1a7a2377b0267b761479100c636ee9 (patch) | |
tree | 5d48eea7b8dffcac324034703ebc4e30448d75c6 /src/pages/FeedPage/PollSubmission.tsx | |
parent | aa63dea15c71ab014b4b57010574c7abf1f9628b (diff) | |
download | which-ui-1499c0126d1a7a2377b0267b761479100c636ee9.tar.gz |
feat!: create useNavigate hook
Diffstat (limited to 'src/pages/FeedPage/PollSubmission.tsx')
-rw-r--r-- | src/pages/FeedPage/PollSubmission.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/FeedPage/PollSubmission.tsx b/src/pages/FeedPage/PollSubmission.tsx index 4e06254..42612f0 100644 --- a/src/pages/FeedPage/PollSubmission.tsx +++ b/src/pages/FeedPage/PollSubmission.tsx @@ -60,7 +60,7 @@ const PollSubmission: React.FC<PropTypes> = ({ addPoll }) => { <ClickAwayListener onClickAway={handleClickAway}> <Card> <Collapse in={expanded} timeout="auto" unmountOnExit> - {user && <UserStrip user={user} info="" navigate={() => {}} />} + {user && <UserStrip user={user} info="" />} <Divider /> <div className={classes.root}> <PollSubmissionImage url={contents.left.url} setUrl={setUrl('left')} /> |