import React from 'react'; class AnonymousOrChannelSelect extends React.Component { constructor (props) { super(props); this.toggleAnonymousPublish = this.toggleAnonymousPublish.bind(this); } toggleAnonymousPublish (event) { const value = event.target.value; if (value === 'anonymous') { this.props.updateUploaderState('publishToChannel', false); } else { this.props.updateUploaderState('publishToChannel', true); } } render () { return (
); } } module.exports = AnonymousOrChannelSelect;