Commit bcb3824e by Hugo Häggmark

Minor rename of LogsProps and LogsState

parent c3692794
...@@ -48,7 +48,7 @@ function renderMetaItem(value: any, kind: LogsMetaKind) { ...@@ -48,7 +48,7 @@ function renderMetaItem(value: any, kind: LogsMetaKind) {
return value; return value;
} }
interface LogsProps { interface Props {
data: LogsModel; data: LogsModel;
exploreId: string; exploreId: string;
highlighterExpressions: string[]; highlighterExpressions: string[];
...@@ -62,7 +62,7 @@ interface LogsProps { ...@@ -62,7 +62,7 @@ interface LogsProps {
onStopScanning?: () => void; onStopScanning?: () => void;
} }
interface LogsState { interface State {
dedup: LogsDedupStrategy; dedup: LogsDedupStrategy;
deferLogs: boolean; deferLogs: boolean;
hiddenLogLevels: Set<LogLevel>; hiddenLogLevels: Set<LogLevel>;
...@@ -72,7 +72,7 @@ interface LogsState { ...@@ -72,7 +72,7 @@ interface LogsState {
showUtc: boolean; showUtc: boolean;
} }
export default class Logs extends PureComponent<LogsProps, LogsState> { export default class Logs extends PureComponent<Props, State> {
deferLogsTimer: NodeJS.Timer; deferLogsTimer: NodeJS.Timer;
renderAllTimer: NodeJS.Timer; renderAllTimer: NodeJS.Timer;
......
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