Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(toolbox) removed unused BetaTag component and styles

Calin Chitu744bcc3b66fb
diff --git a/react/features/base/toolbox/components/BetaTag.js b/react/features/base/toolbox/components/BetaTag.js
deleted file mode 100644
index 0fd80b3c5c..0000000000
--- a/react/features/base/toolbox/components/BetaTag.js
+++ /dev/null
@@ -1,40 +0,0 @@
-// @flow
-
-import React, { Component } from 'react';
-
-import { translate } from '../../i18n';
-import { Container, Text } from '../../react';
-
-type Props = {
-
- /**
- * Invoked to obtain translated strings.
- */
- t: Function
-};
-
-/**
- * Creates a ReactElement for showing a ToolboxItem is for a beta feature.
- *
- * @augments {Component}
- */
-class BetaTag extends Component<Props> {
-
- /**
- * Implements React's {@link Component#render()}.
- *
- * @inheritdoc
- * @returns {ReactElement}
- */
- render() {
- return (
- <Container className = 'beta-tag'>
- <Text>
- { this.props.t('recording.beta') }
- </Text>
- </Container>
- );
- }
-}
-
-export default translate(BetaTag);
diff --git a/react/features/base/toolbox/components/index.js b/react/features/base/toolbox/components/index.js
index e5c65e722d..5c085dc832 100644
--- a/react/features/base/toolbox/components/index.js
+++ b/react/features/base/toolbox/components/index.js
@@ -5,5 +5,4 @@ export { default as AbstractButton } from './AbstractButton';
export type { Props as AbstractButtonProps } from './AbstractButton';
export { default as AbstractHangupButton } from './AbstractHangupButton';
export { default as AbstractVideoMuteButton } from './AbstractVideoMuteButton';
-export { default as BetaTag } from './BetaTag';
export * from './_';
diff --git a/react/features/recording/components/LiveStream/native/styles.js b/react/features/recording/components/LiveStream/native/styles.js
index 58943d0d85..8b67ee8bc4 100644
--- a/react/features/recording/components/LiveStream/native/styles.js
+++ b/react/features/recording/components/LiveStream/native/styles.js
@@ -25,19 +25,6 @@ export const TOUCHABLE_UNDERLAY = ColorPalette.lightGrey;
* The styles of the React {@code Components} of LiveStream.
*/
export default createStyleSheet({
- betaTag: {
- backgroundColor: ColorPalette.darkGrey,
- borderRadius: 2,
- marginLeft: 16,
- opacity: 0.90,
- paddingLeft: 6,
- paddingRight: 6
- },
-
- betaTagText: {
- color: ColorPalette.white,
- fontWeight: 'bold'
- },
/**
* Generic component to wrap form sections into achieving a unified look.