Selaa lähdekoodia

ref(chat): de-parameterize AbstractMessageContainer

master
Leonard Kim 6 vuotta sitten
vanhempi
commit
4eec13da1c

+ 1
- 1
react/features/chat/components/AbstractMessageContainer.js Näytä tiedosto

15
  *
15
  *
16
  * @extends PureComponent
16
  * @extends PureComponent
17
  */
17
  */
18
-export default class AbstractMessageContainer<P: Props> extends PureComponent<P> {
18
+export default class AbstractMessageContainer extends PureComponent<Props> {
19
     static defaultProps = {
19
     static defaultProps = {
20
         messages: []
20
         messages: []
21
     };
21
     };

+ 1
- 1
react/features/chat/components/native/MessageContainer.js Näytä tiedosto

12
 /**
12
 /**
13
  * Implements a container to render all the chat messages in a conference.
13
  * Implements a container to render all the chat messages in a conference.
14
  */
14
  */
15
-export default class MessageContainer extends AbstractMessageContainer<Props> {
15
+export default class MessageContainer extends AbstractMessageContainer {
16
     /**
16
     /**
17
      * Instantiates a new instance of the component.
17
      * Instantiates a new instance of the component.
18
      *
18
      *

+ 1
- 1
react/features/chat/components/web/MessageContainer.js Näytä tiedosto

12
  *
12
  *
13
  * @extends AbstractMessageContainer
13
  * @extends AbstractMessageContainer
14
  */
14
  */
15
-export default class MessageContainer extends AbstractMessageContainer<Props> {
15
+export default class MessageContainer extends AbstractMessageContainer {
16
     /**
16
     /**
17
      * Reference to the HTML element at the end of the list of displayed chat
17
      * Reference to the HTML element at the end of the list of displayed chat
18
      * messages. Used for scrolling to the end of the chat messages.
18
      * messages. Used for scrolling to the end of the chat messages.

Loading…
Peruuta
Tallenna