diff --git a/bigbluebutton-html5/imports/ui/components/polling/container.jsx b/bigbluebutton-html5/imports/ui/components/polling/container.jsx index 9e68038cc214f1137bf945b20ac09332631b5694..02541c21d641c10381a9ed6dbd64b496d469fa44 100644 --- a/bigbluebutton-html5/imports/ui/components/polling/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/polling/container.jsx @@ -3,9 +3,11 @@ import { createContainer } from 'meteor/react-meteor-data'; import PollingService from './service'; import PollingComponent from './component'; -const PollingContainer = (props, { pollExists, poll, handleVote }) => { +const PollingContainer = ({ + pollExists, poll, handleVote, ...props +}) => { if (!pollExists) return null; - return <PollingComponent poll={poll} handleVote={handleVote} />; + return <PollingComponent poll={poll} handleVote={handleVote} {...props} />; }; export default createContainer(() => { const data = PollingService.mapPolls();