1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Chore: Mobile: Fix warning in image editor test (#9338)

This commit is contained in:
Henry Heino 2023-11-19 02:43:22 -08:00 committed by GitHub
parent 9b078de9d8
commit dc20402f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ export const createJsDrawEditor = (
return new Promise<string>((resolve, reject) => {
if (!resourceUrl) {
resolve('');
return;
}
// fetch seems to be unable to request file:// URLs.