Merge pull request #13864 from ramonlsouza/issue-13841

fix: Users disappearing from the polling results when they vote
This commit is contained in:
Anton Georgiev 2021-12-08 12:35:13 -05:00 committed by GitHub
commit 9b143e80bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,6 +248,10 @@ class Poll extends Component {
} }
} }
componentWillUnmount() {
Session.set('secretPoll', false);
}
handleBackClick() { handleBackClick() {
const { stopPoll } = this.props; const { stopPoll } = this.props;
this.setState({ this.setState({