1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Stop React complaining about componentShouldUpdate()

This commit is contained in:
Travis Ralston
2021-03-29 21:59:45 -06:00
parent 5c685dcf35
commit 9998f18d67

View File

@@ -31,7 +31,7 @@ interface IState {
* A clock for a live recording. * A clock for a live recording.
*/ */
@replaceableComponent("views.voice_messages.LiveRecordingClock") @replaceableComponent("views.voice_messages.LiveRecordingClock")
export default class LiveRecordingClock extends React.PureComponent<IProps, IState> { export default class LiveRecordingClock extends React.Component<IProps, IState> {
public constructor(props) { public constructor(props) {
super(props); super(props);