Commit 6145bf77 by kay delaney Committed by GitHub

UI/RefreshPicker: Change base from PureComponent to Component (#27031)

parent 19930ee3
import React, { PureComponent } from 'react';
import React, { Component } from 'react';
import classNames from 'classnames';
import { SelectableValue } from '@grafana/data';
import { css } from 'emotion';
......@@ -35,7 +35,7 @@ export interface Props {
theme: GrafanaTheme;
}
export class RefreshPickerBase extends PureComponent<Props> {
export class RefreshPickerBase extends Component<Props> {
static offOption = { label: 'Off', value: '' };
static liveOption = { label: 'Live', value: 'LIVE' };
static isLive = (refreshInterval?: string): boolean => refreshInterval === RefreshPicker.liveOption.value;
......
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