Commit c958ebd1 by Peter Holmberg

extend from purecomponent

parent 1994ca50
import React from 'react';
import React, { PureComponent } from 'react';
import Highlighter from 'react-highlight-words';
import classNames from 'classnames/bind';
import { AlertRule } from '../../types';
......@@ -8,7 +8,7 @@ export interface Props {
search: string;
}
export default class AlertRuleItem extends React.Component<Props, any> {
export default class AlertRuleItem extends PureComponent<Props, any> {
toggleState = () => {
// this.props.rule.togglePaused();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment