Skip to content
Snippets Groups Projects
Commit c856a241 authored by KDSBrowne's avatar KDSBrowne
Browse files

remove unused button className

parent 3881ce24
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,6 @@ class ActionsDropdown extends PureComponent {
<Button
hideLabel
aria-label={intl.formatMessage(intlMessages.actionsLabel)}
className={styles.button}
label={intl.formatMessage(intlMessages.actionsLabel)}
icon="plus"
color="primary"
......
......@@ -24,7 +24,7 @@ const intlMessages = defineMessages({
const CaptionsButton = ({ intl, isActive, handleOnClick }) => (
<Button
className={cx(styles.button, isActive || styles.btn)}
className={cx(isActive || styles.btn)}
icon="closed_caption"
label={intl.formatMessage(isActive ? intlMessages.stop : intlMessages.start)}
color={isActive ? 'primary' : 'default'}
......
......@@ -161,7 +161,7 @@ const DesktopShare = ({
return (shouldAllowScreensharing
? (
<Button
className={cx(styles.button, isVideoBroadcasting || styles.btn)}
className={cx(isVideoBroadcasting || styles.btn)}
disabled={(!isMeteorConnected && !isVideoBroadcasting) || !screenshareDataSavingSetting}
icon={isVideoBroadcasting ? 'desktop' : 'desktop_off'}
label={intl.formatMessage(vLabel)}
......
......@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import { defineMessages, injectIntl, intlShape } from 'react-intl';
import Button from '/imports/ui/components/button/component';
import MediaService from '/imports/ui/components/media/service';
import { styles } from '../styles';
const propTypes = {
intl: intlShape.isRequired,
......@@ -27,7 +26,6 @@ const PresentationOptionsContainer = ({ intl, toggleSwapLayout, isThereCurrentPr
if (shouldUnswapLayout()) toggleSwapLayout();
return (
<Button
className={styles.button}
icon="presentation"
label={intl.formatMessage(intlMessages.restorePresentationLabel)}
description={intl.formatMessage(intlMessages.restorePresentationDesc)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment