mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-01-15 08:22:37 +01:00
Rename Indicators component to DebugIndicators
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user