diff --git a/packages/desktop/lib/electron/managers/transak.manager.ts b/packages/desktop/lib/electron/managers/transak.manager.ts index 442bee3740..cc4f3b2d1e 100644 --- a/packages/desktop/lib/electron/managers/transak.manager.ts +++ b/packages/desktop/lib/electron/managers/transak.manager.ts @@ -179,9 +179,9 @@ export default class TransakManager implements ITransakManager { public positionWindow(): void { try { if (windows.transak) { - const [mainWindowX, mainWindowY] = windows.main?.getPosition() ?? [] - const [, mainWindowHeight] = windows.main?.getSize() ?? [] - const [, bodyHeight] = windows.main?.getContentSize() ?? [] + const [mainWindowX, mainWindowY] = windows.main?.getPosition() ?? [0, 0] + const [, mainWindowHeight] = windows.main?.getSize() ?? [1280, 720] + const [, bodyHeight] = windows.main?.getContentSize() ?? [1280, 720] const menuHeight = mainWindowHeight - bodyHeight