From 65e0189eb173ec2d4b5ed7aefe0095df4e62ef22 Mon Sep 17 00:00:00 2001 From: BorysLevytskyi Date: Fri, 15 Jan 2021 19:56:17 +0200 Subject: [PATCH] Rename Indicators component to DebugIndicators --- src/shell/components/AppRoot.tsx | 4 ++-- .../components/{Indicators.tsx => DebugIndicators.tsx} | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) rename src/shell/components/{Indicators.tsx => DebugIndicators.tsx} (79%) diff --git a/src/shell/components/AppRoot.tsx b/src/shell/components/AppRoot.tsx index d9ae9b5..f904efc 100644 --- a/src/shell/components/AppRoot.tsx +++ b/src/shell/components/AppRoot.tsx @@ -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 render() { return
- +

BitwiseCmd

diff --git a/src/shell/components/Indicators.tsx b/src/shell/components/DebugIndicators.tsx similarity index 79% rename from src/shell/components/Indicators.tsx rename to src/shell/components/DebugIndicators.tsx index 3f98eb7..9e15716 100644 --- a/src/shell/components/Indicators.tsx +++ b/src/shell/components/DebugIndicators.tsx @@ -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) {
} -export default Indicators; \ No newline at end of file +export default DebugIndicators; \ No newline at end of file