Skip to content

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

ref(chat): de-parameterize AbstractMessageContainer

Leonard Kim4eec13da1ca9
diff --git a/react/features/chat/components/AbstractMessageContainer.js b/react/features/chat/components/AbstractMessageContainer.js
index c05b0714e9..766d73e322 100644
--- a/react/features/chat/components/AbstractMessageContainer.js
+++ b/react/features/chat/components/AbstractMessageContainer.js
@@ -15,7 +15,7 @@ export type Props = {
*
* @extends PureComponent
*/
-export default class AbstractMessageContainer<P: Props> extends PureComponent<P> {
+export default class AbstractMessageContainer extends PureComponent<Props> {
static defaultProps = {
messages: []
};
diff --git a/react/features/chat/components/native/MessageContainer.js b/react/features/chat/components/native/MessageContainer.js
index a08e8338b1..8ee3dce563 100644
--- a/react/features/chat/components/native/MessageContainer.js
+++ b/react/features/chat/components/native/MessageContainer.js
@@ -12,7 +12,7 @@ import styles from './styles';
/**
* Implements a container to render all the chat messages in a conference.
*/
-export default class MessageContainer extends AbstractMessageContainer<Props> {
+export default class MessageContainer extends AbstractMessageContainer {
/**
* Instantiates a new instance of the component.
*
diff --git a/react/features/chat/components/web/MessageContainer.js b/react/features/chat/components/web/MessageContainer.js
index 0c883262e7..759cc7e39f 100644
--- a/react/features/chat/components/web/MessageContainer.js
+++ b/react/features/chat/components/web/MessageContainer.js
@@ -12,7 +12,7 @@ import ChatMessageGroup from './ChatMessageGroup';
*
* @extends AbstractMessageContainer
*/
-export default class MessageContainer extends AbstractMessageContainer<Props> {
+export default class MessageContainer extends AbstractMessageContainer {
/**
* Reference to the HTML element at the end of the list of displayed chat
* messages. Used for scrolling to the end of the chat messages.