From 9bb71d646249f684099f1301c541cd9c40e5edbe Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Wed, 14 Jun 2023 21:17:44 -0400 Subject: [PATCH] Fix tooltip search --- renderer/src/modules/discordmodules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/src/modules/discordmodules.js b/renderer/src/modules/discordmodules.js index 059aaf27..2e46f8e5 100644 --- a/renderer/src/modules/discordmodules.js +++ b/renderer/src/modules/discordmodules.js @@ -160,6 +160,6 @@ export default Utilities.memoizeObject({ // Make fallback component just pass children, so it can at least render that. const fallback = props => props.children?.({}) ?? null; - return WebpackModules.getModule(Filters.byPrototypeFields(["renderTooltip"]), {searchExports: true}) ?? fallback; + return WebpackModules.getModule(Filters.byPrototypeKeys(["renderTooltip"]), {searchExports: true}) ?? fallback; } });