diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 22e438c804..9d938eb30a 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -2112,7 +2112,7 @@ InternalBDFDB.setDefaultProps = function (component, defaultProps) { if (BDFDB.ObjectUtils.is(component)) component.defaultProps = Object.assign({}, component.defaultProps, defaultProps); }; - InternalBDFDB.loadPatchedComp = function (name) { + InternalBDFDB.loadPatchedComp = function (path) { let comp = BDFDB.ReactUtils.getValue(window.BDFDB, `LibraryComponents.${path}`); if (comp && comp.prototype && comp.prototype.BDFDBpatch) return comp; };