Fix crash
This commit is contained in:
parent
bdb83b5295
commit
e890e2f4f8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue