Rename Indicators component to DebugIndicators

This commit is contained in:
BorysLevytskyi
2021-01-15 19:56:17 +02:00
parent 8ab3451096
commit 65e0189eb1
2 changed files with 4 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import DisplayResultView from './DisplayResultView';
import AppState, { CommandResultView } from '../AppState';
import cmd from '../cmd';
import log from 'loglevel';
import Indicators from './Indicators';
import DebugIndicators from './DebugIndicators';
import hash from '../../core/hash';
import TopLinks from './TopLinks';
@@ -49,7 +49,7 @@ export default class AppRoot extends React.Component<AppRootProps, AppRootState>
render() {
return <div className={`app-root ${this.state.uiTheme}`}>
<Indicators appState={this.props.appState} />
<DebugIndicators appState={this.props.appState} />
<div className="header">
<h1>Bitwise<span className="header-cmd">Cmd</span>
</h1>

View File

@@ -1,11 +1,7 @@
import AppState from "../AppState";
import React from "react";
type IndicatorsProps = {
appState: AppState
};
function Indicators(props: IndicatorsProps) {
function DebugIndicators(props: {appState: AppState}) {
const list = [];
const state = props.appState;
@@ -30,4 +26,4 @@ function Indicators(props: IndicatorsProps) {
</div>
}
export default Indicators;
export default DebugIndicators;