mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Changes LogsContainer from a PureComponent to a Component (#17741)
This commit is contained in:
parent
48570c4286
commit
cbe057fce8
@ -1,4 +1,4 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { hot } from 'react-hot-loader';
|
import { hot } from 'react-hot-loader';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import {
|
import {
|
||||||
@ -53,7 +53,7 @@ interface LogsContainerProps {
|
|||||||
stopLive: typeof changeRefreshIntervalAction;
|
stopLive: typeof changeRefreshIntervalAction;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class LogsContainer extends PureComponent<LogsContainerProps> {
|
export class LogsContainer extends Component<LogsContainerProps> {
|
||||||
onChangeTime = (absRange: AbsoluteTimeRange) => {
|
onChangeTime = (absRange: AbsoluteTimeRange) => {
|
||||||
const { exploreId, timeZone, changeTime } = this.props;
|
const { exploreId, timeZone, changeTime } = this.props;
|
||||||
const range = {
|
const range = {
|
||||||
|
Loading…
Reference in New Issue
Block a user