From ac1d73dbbd3859e7c22ac226f5368efc52ad3f30 Mon Sep 17 00:00:00 2001 From: Fang Date: Tue, 14 Sep 2021 15:18:09 +0200 Subject: [PATCH] webterm: cleanup --- pkg/interface/webterm/app.tsx | 4 +--- pkg/interface/webterm/index.html | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/interface/webterm/app.tsx b/pkg/interface/webterm/app.tsx index 5d4aec15f..567bb1ee6 100644 --- a/pkg/interface/webterm/app.tsx +++ b/pkg/interface/webterm/app.tsx @@ -2,7 +2,7 @@ import { Box, Col } from '@tlon/indigo-react'; import React, { Component } from 'react'; import dark from '@tlon/indigo-dark'; import light from '@tlon/indigo-light'; -import styled, { ThemeProvider } from 'styled-components'; +import { ThemeProvider } from 'styled-components'; import Api from './api'; import { History } from './components/history'; import { Input } from './components/input'; @@ -11,7 +11,6 @@ import Store from './store'; import Subscription from './subscription'; import Channel from './lib/channel'; -//TODO wrap in themeprovider, as in landscape root app.js class TermApp extends Component { store: Store; api: any; @@ -33,7 +32,6 @@ class TermApp extends Component { this.resetControllers(); // eslint-disable-next-line new-cap const channel = new Channel(); - console.log('xx--------', this.props); this.api = new Api(window.ship, channel); this.store.api = this.api; diff --git a/pkg/interface/webterm/index.html b/pkg/interface/webterm/index.html index f63c35dc4..a1c0f1b9a 100644 --- a/pkg/interface/webterm/index.html +++ b/pkg/interface/webterm/index.html @@ -21,9 +21,6 @@
-
- -