From 860e8ede87d3120a4b6286bd608c153ab2f705a7 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 4 Feb 2021 20:15:33 +0100 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index c3a22787d9..2f821a1c4c 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2622,7 +2622,6 @@ module.exports = (_ => { BDFDB.ReactUtils.forceUpdate = function (...instances) { for (let ins of instances.flat(10).filter(n => n)) if (ins.updater && typeof ins.updater.isMounted == "function" && ins.updater.isMounted(ins)) ins.forceUpdate(); }; - /* BROKEN ON CANARY */ BDFDB.ReactUtils.getInstance = function (node) { if (!BDFDB.ObjectUtils.is(node)) return null; return node[Object.keys(node).find(key => key.startsWith("__reactInternalInstance") || key.startsWith("__reactFiber"))];