Dwayne Harris 5 years ago
parent
commit
6bf0dc99ae
  1. 1
      src/apps/text-app/composer/app.tsx
  2. 1
      src/communicator/index.ts

1
src/apps/text-app/composer/app.tsx

@ -34,6 +34,7 @@ const App: FC<Props> = ({ communicator }) => {
useEffect(() => { useEffect(() => {
const init = async () => { const init = async () => {
try { try {
await communicator.init()
await communicator.setHeight(document.body.offsetHeight) await communicator.setHeight(document.body.offsetHeight)
} catch (err) { } catch (err) {
console.error('App Component: ', err) console.error('App Component: ', err)

1
src/communicator/index.ts

@ -34,7 +34,6 @@ export class Communicator {
private origin = 'http://localhost:8080' private origin = 'http://localhost:8080'
private publicKey: string private publicKey: string
private listeners: ListenerCollection private listeners: ListenerCollection
private settings?: AppSettings
constructor(publicKey: string) { constructor(publicKey: string) {
this.publicKey = publicKey this.publicKey = publicKey

Loading…
Cancel
Save