diff --git a/src/DEFAULTS.js b/src/DEFAULTS.js index aee0955..cb75e80 100644 --- a/src/DEFAULTS.js +++ b/src/DEFAULTS.js @@ -2,7 +2,7 @@ const NICONICONII = process.env.PUBLIC_URL+"/icons/nicodotpng.png.png" function DisplayIcon(icon) { //console.log(icon) - return icon?process.env.PUBLIC_URL+icon:NICONICONII + return icon&&icon.length>0?process.env.PUBLIC_URL+icon:NICONICONII } export {NICONICONII,DisplayIcon}; \ No newline at end of file diff --git a/src/TestPanel.js b/src/TestPanel.js index 8c2c2c7..4d16695 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -595,7 +595,7 @@ AUGMENT }} /> -