From 2e7006ce24c42ec2b6642346d153429338e7334e Mon Sep 17 00:00:00 2001
From: Shin'ya Ueoka <ueokande@i-beam.org>
Date: Sun, 22 Dec 2019 10:01:24 +0900
Subject: npm run lint:fix

---
 src/console/components/Console.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/console/components/Console.tsx')

diff --git a/src/console/components/Console.tsx b/src/console/components/Console.tsx
index 1743d15..eafe2a7 100644
--- a/src/console/components/Console.tsx
+++ b/src/console/components/Console.tsx
@@ -34,7 +34,7 @@ class Console extends React.Component<Props> {
     e.stopPropagation();
     e.preventDefault();
 
-    let value = (e.target as HTMLInputElement).value;
+    const value = (e.target as HTMLInputElement).value;
     if (this.props.mode === 'command') {
       return this.props.dispatch(consoleActions.enterCommand(value));
     } else if (this.props.mode === 'find') {
@@ -101,7 +101,7 @@ class Console extends React.Component<Props> {
   }
 
   onChange(e: React.ChangeEvent<HTMLInputElement>) {
-    let text = e.target.value;
+    const text = e.target.value;
     this.props.dispatch(consoleActions.setConsoleText(text));
     if (this.props.mode === 'command') {
       this.props.dispatch(consoleActions.getCompletions(text));
-- 
cgit v1.2.3

