Update DiscordPreview.js

This commit is contained in:
Mirco Wittrien 2019-05-07 21:20:29 +02:00
parent 0c04a3c003
commit a507b4399a
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ window.WebModulesFindByProperties = function (properties) {
return module; return module;
}; };
window.WebModulesFindByName = function (name) { window.WebModulesFindByName = function (name) {
return WebModulesFind(module => module.displayName === name); return WebModulesFind(module => module.displayName === name) || "";
}; };
window.BDV2 = {}; window.BDV2 = {};
window.BDV2.react = window.React; window.BDV2.react = window.React;