@ -34,6 +34,7 @@ const App: FC<Props> = ({ communicator }) => {
useEffect(() => {
const init = async () => {
try {
await communicator.init()
await communicator.setHeight(document.body.offsetHeight)
} catch (err) {
console.error('App Component: ', err)
@ -34,7 +34,6 @@ export class Communicator {
private origin = 'http://localhost:8080'
private publicKey: string
private listeners: ListenerCollection
private settings?: AppSettings
constructor(publicKey: string) {
this.publicKey = publicKey