diff options
author | megumin <megumin.bakaretsurie@gmail.com> | 2022-11-21 17:45:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 18:45:22 +0100 |
commit | bfe1fd9912f02809b52041902dafef96eb0ff072 (patch) | |
tree | 0c291aafd25f3d51f907161ac82e00e2c5b91042 | |
parent | c45d89697af4f2ecd702fb6078d72d125fdbca78 (diff) | |
download | Vencord-bfe1fd9912f02809b52041902dafef96eb0ff072.tar.gz Vencord-bfe1fd9912f02809b52041902dafef96eb0ff072.tar.bz2 Vencord-bfe1fd9912f02809b52041902dafef96eb0ff072.zip |
fix: add keys to plugins grid (#237)
-rw-r--r-- | src/components/PluginSettings/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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} />; }) : <Text variant="text-md/normal">No plugins meet search criteria.</Text> @@ -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 <Tooltip text={tooltipText}> + return <Tooltip text={tooltipText} key={plugin.name}> {({ onMouseLeave, onMouseEnter }) => ( <PluginCard onMouseLeave={onMouseLeave} |