From 4711d5bcebc50ec1578651d198b3748bac088357 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 15 Apr 2020 12:57:32 -0500 Subject: [PATCH] remove buttons --- src/App.tsx | 16 +--------------- src/{ => old}/Connection.tsx | 0 src/{ => old}/Repl.tsx | 0 src/{ => old}/Run.tsx | 0 src/{ => old}/Stop.tsx | 0 5 files changed, 1 insertion(+), 15 deletions(-) rename src/{ => old}/Connection.tsx (100%) rename src/{ => old}/Repl.tsx (100%) rename src/{ => old}/Run.tsx (100%) rename src/{ => old}/Stop.tsx (100%) diff --git a/src/App.tsx b/src/App.tsx index a8ba827b..fbaa7926 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,12 +1,8 @@ import React from 'react'; import AceEditor from 'react-ace'; import './App.css'; -import { Connection } from './Connection'; +import { Connection } from './old/Connection'; import { Terminal } from './Terminal'; -import { Run } from './Run'; -import { Stop } from './Stop'; -import { Repl } from './Repl'; -import { Flash } from './Flash'; import 'ace-builds/src-noconflict/mode-python'; import 'ace-builds/src-noconflict/theme-github'; @@ -17,16 +13,6 @@ function App(): JSX.Element { const editor = React.createRef(); return (
-
- terminal.current?.write(e)} - ref={connection} - /> - - - - -
{ connection.current?.write(d); diff --git a/src/Connection.tsx b/src/old/Connection.tsx similarity index 100% rename from src/Connection.tsx rename to src/old/Connection.tsx diff --git a/src/Repl.tsx b/src/old/Repl.tsx similarity index 100% rename from src/Repl.tsx rename to src/old/Repl.tsx diff --git a/src/Run.tsx b/src/old/Run.tsx similarity index 100% rename from src/Run.tsx rename to src/old/Run.tsx diff --git a/src/Stop.tsx b/src/old/Stop.tsx similarity index 100% rename from src/Stop.tsx rename to src/old/Stop.tsx