瀏覽代碼

Explore: Changes LogsContainer from a PureComponent to a Component (#17741)

kay delaney 6 年之前
父節點
當前提交
cbe057fce8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/app/features/explore/LogsContainer.tsx

+ 2 - 2
public/app/features/explore/LogsContainer.tsx

@@ -1,4 +1,4 @@
-import React, { PureComponent } from 'react';
+import React, { Component } from 'react';
 import { hot } from 'react-hot-loader';
 import { connect } from 'react-redux';
 import {
@@ -53,7 +53,7 @@ interface LogsContainerProps {
   stopLive: typeof changeRefreshIntervalAction;
 }
 
-export class LogsContainer extends PureComponent<LogsContainerProps> {
+export class LogsContainer extends Component<LogsContainerProps> {
   onChangeTime = (absRange: AbsoluteTimeRange) => {
     const { exploreId, timeZone, changeTime } = this.props;
     const range = {