fix poll results not displaying correctly for presenter

This commit is contained in:
KDSBrowne 2018-09-28 14:40:53 +00:00
parent e1440de236
commit b9736e9c08

View File

@ -209,9 +209,8 @@ class Poll extends Component {
<div className={styles.instructions}>{intl.formatMessage(intlMessages.activePollInstruction)}</div>
<Button
onClick={() => {
router.push('/users');
publishPoll();
this.setState({ isPolling: false });
router.push('/users');
}}
label={intl.formatMessage(intlMessages.publishLabel)}
color="primary"