mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-30 14:00:07 +02:00
Make IconButton a pure component
This commit is contained in:
parent
9c70ff2ca2
commit
d2d02585b2
@ -10,8 +10,8 @@ type Props = {
|
||||
icon?: React.ReactNode
|
||||
}
|
||||
|
||||
export default class Button extends React.Component<Props> {
|
||||
render() {
|
||||
export default class Button extends React.PureComponent<Props> {
|
||||
render(): JSX.Element {
|
||||
return (
|
||||
<div
|
||||
onClick={this.props.onClick}
|
||||
|
Loading…
Reference in New Issue
Block a user