Fix crash

This commit is contained in:
Thomas Zarebczan 2022-01-17 23:24:59 -05:00
parent bdb83b5295
commit e890e2f4f8
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -20,7 +20,7 @@ export const formatLbryUrlForWeb = (uri) => {
return newUrl; return newUrl;
}; };
export const formatLbryChannelName = (uri) => uri.replace('lbry://', '').replace(/#/g, ':'); export const formatLbryChannelName = (uri) => uri && uri.replace('lbry://', '').replace(/#/g, ':');
export const formatFileSystemPath = (path) => { export const formatFileSystemPath = (path) => {
if (!path) { if (!path) {