We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fc4f3 commit 3a4f8c7Copy full SHA for 3a4f8c7
lib/connect.ts
@@ -33,7 +33,6 @@ export async function connect(options: ConnectOptions): Promise<string | null> {
33
return new Promise<string | null>(resolve => {
34
const wait = 1000
35
const intervalId = setInterval(() => {
36
- // popupWindow?.postMessage('check this out', '*')
37
if (popupWindow == null || popupWindow.closed === true) {
38
clearInterval(intervalId)
39
onClose()
@@ -85,7 +84,6 @@ function isRecognizedMessage(data: unknown): data is CasaMessage {
85
84
if (typeof data !== 'object' || Array.isArray(data) || data == null) {
86
return false
87
}
88
-
89
return CONNECT_ACTIONS.includes((data as CasaMessage).action)
90
91
0 commit comments