From d20c96cc2b26e481891faf1419ec95ed94781ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Souza?= Date: Tue, 9 Nov 2021 16:02:53 +0000 Subject: [PATCH] convert audio autoplay component --- .../components/audio/autoplay/component.jsx | 10 ++++---- .../ui/components/audio/autoplay/styles.js | 24 +++++++++++++++++++ .../ui/components/audio/autoplay/styles.scss | 16 ------------- 3 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 bigbluebutton-html5/imports/ui/components/audio/autoplay/styles.js delete mode 100644 bigbluebutton-html5/imports/ui/components/audio/autoplay/styles.scss diff --git a/bigbluebutton-html5/imports/ui/components/audio/autoplay/component.jsx b/bigbluebutton-html5/imports/ui/components/audio/autoplay/component.jsx index 3c4856bbe9..33c32e67b8 100644 --- a/bigbluebutton-html5/imports/ui/components/audio/autoplay/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/audio/autoplay/component.jsx @@ -1,8 +1,7 @@ import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; -import Button from '/imports/ui/components/button/component'; import { defineMessages, injectIntl } from 'react-intl'; -import { styles } from './styles'; +import Styled from './styles'; const intlMessages = defineMessages({ confirmLabel: { @@ -29,9 +28,8 @@ class AudioAutoplayPrompt extends PureComponent { handleAllowAutoplay, } = this.props; return ( - -