chore: fix eslint crashing issues (#1951)

This commit is contained in:
Mo
2022-11-04 17:09:54 -05:00
committed by GitHub
parent 5aa36ff071
commit 417c90a6f2
118 changed files with 315 additions and 424 deletions

View File

@@ -39,6 +39,7 @@ export class MobileWebReceiver {
this.handleNativeEvent(nativeEvent, messageData)
}
} catch (error) {
// eslint-disable-next-line no-console
console.log('[MobileWebReceiver] Error parsing message from React Native', error)
}
}

View File

@@ -6,5 +6,5 @@ export const shareBlobOnMobile = async (application: WebApplication, blob: Blob,
throw new Error('Share function being used outside mobile webview')
}
const base64 = await getBase64FromBlob(blob)
application.mobileDevice().shareBase64AsFile(base64, filename)
void application.mobileDevice().shareBase64AsFile(base64, filename)
}