Update DiscordPreview.js
This commit is contained in:
parent
0c04a3c003
commit
a507b4399a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue