We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c8482 commit 8a09915Copy full SHA for 8a09915
utils/PhotoUtils.ts
@@ -50,7 +50,7 @@ const getPhoto = (photo: string | undefined): string => {
50
if (fileName === 'cln') file = CLN;
51
if (fileName === 'lnd') file = LND;
52
53
- return Image.resolveAssetSource(file).uri || '';
+ return Image.resolveAssetSource(file)?.uri || '';
54
}
55
return photo || '';
56
};
0 commit comments