import React from 'react'; import { createContainer } from 'meteor/react-meteor-data'; import Button from '/imports/ui/components/button/component'; import { withRouter } from 'react-router'; import { defineMessages, injectIntl } from 'react-intl'; const intlMessages = defineMessages({ joinAudio: { id: 'app.audio.joinAudio', defaultMessage: 'Join Audio', }, leaveAudio: { id: 'app.audio.leaveAudio', defaultMessage: 'Leave Audio', } }); class JoinAudioOptions extends React.Component { render() { const { close, intl, isInAudio, isInListenOnly, open, } = this.props; if (isInAudio || isInListenOnly) { return (