mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Use purecomponent
Co-Authored-By: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
bfba5e6cfe
commit
a8407c9508
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue