diff --git a/react/features/notifications/components/AbstractNotification.js b/react/features/notifications/components/AbstractNotification.js index df61b37d1..f03c635a4 100644 --- a/react/features/notifications/components/AbstractNotification.js +++ b/react/features/notifications/components/AbstractNotification.js @@ -61,11 +61,6 @@ export type Props = { */ icon?: String, - /** - * Whether or not the dismiss button should be displayed. - */ - isDismissAllowed: boolean, - /** * Maximum lines of the description. */ @@ -116,8 +111,7 @@ export default class AbstractNotification extends Component

{ * @static */ static defaultProps = { - appearance: NOTIFICATION_TYPE.NORMAL, - isDismissAllowed: true + appearance: NOTIFICATION_TYPE.NORMAL }; /** diff --git a/react/features/notifications/components/native/Notification.js b/react/features/notifications/components/native/Notification.js index 0cc7cc908..5c9280ba2 100644 --- a/react/features/notifications/components/native/Notification.js +++ b/react/features/notifications/components/native/Notification.js @@ -32,8 +32,6 @@ class Notification extends AbstractNotification { * @returns {ReactElement} */ render() { - const { isDismissAllowed } = this.props; - return ( { } - { - isDismissAllowed - && - - - } + + + ); }