mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 02:11:31 +02:00
Use purecomponent
Co-Authored-By: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
bfba5e6cfe
commit
a8407c9508
@ -116,7 +116,7 @@ type DotIProps = {
|
||||
disabled: boolean;
|
||||
}
|
||||
|
||||
class Dot extends React.Component<DotIProps> {
|
||||
class Dot extends React.PureComponent<DotIProps> {
|
||||
render(): React.ReactNode {
|
||||
let className = "mx_Slider_dot"
|
||||
if (!this.props.disabled && this.props.active) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user