From bfe1fd9912f02809b52041902dafef96eb0ff072 Mon Sep 17 00:00:00 2001 From: megumin Date: Mon, 21 Nov 2022 17:45:22 +0000 Subject: [PATCH] fix: add keys to plugins grid (#237) --- src/components/PluginSettings/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index a0dfc24..2de9362 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -278,6 +278,7 @@ export default ErrorBoundary.wrap(function Settings() { onRestartNeeded={name => changes.add(name)} disabled={plugin.required || !!dependency} plugin={plugin} + key={plugin.name} />; }) : No plugins meet search criteria. @@ -296,7 +297,7 @@ export default ErrorBoundary.wrap(function Settings() { const tooltipText = plugin.required ? "This plugin is required for Vencord to function." : makeDependencyList(dependencyCheck(plugin.name, depMap)); - return + return {({ onMouseLeave, onMouseEnter }) => (