Skip to content

Commit 3a4f8c7

Browse files
committed
Slight cleanup
Signed-off-by: Amsul <amsul@team.casa>
1 parent 28fc4f3 commit 3a4f8c7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/connect.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export async function connect(options: ConnectOptions): Promise<string | null> {
3333
return new Promise<string | null>(resolve => {
3434
const wait = 1000
3535
const intervalId = setInterval(() => {
36-
// popupWindow?.postMessage('check this out', '*')
3736
if (popupWindow == null || popupWindow.closed === true) {
3837
clearInterval(intervalId)
3938
onClose()
@@ -85,7 +84,6 @@ function isRecognizedMessage(data: unknown): data is CasaMessage {
8584
if (typeof data !== 'object' || Array.isArray(data) || data == null) {
8685
return false
8786
}
88-
8987
return CONNECT_ACTIONS.includes((data as CasaMessage).action)
9088
}
9189

0 commit comments

Comments
 (0)