fix: add keys to plugins grid (#237)
This commit is contained in:
parent
c45d89697a
commit
bfe1fd9912
1 changed files with 2 additions and 1 deletions
|
@ -278,6 +278,7 @@ export default ErrorBoundary.wrap(function Settings() {
|
||||||
onRestartNeeded={name => changes.add(name)}
|
onRestartNeeded={name => changes.add(name)}
|
||||||
disabled={plugin.required || !!dependency}
|
disabled={plugin.required || !!dependency}
|
||||||
plugin={plugin}
|
plugin={plugin}
|
||||||
|
key={plugin.name}
|
||||||
/>;
|
/>;
|
||||||
})
|
})
|
||||||
: <Text variant="text-md/normal">No plugins meet search criteria.</Text>
|
: <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
|
const tooltipText = plugin.required
|
||||||
? "This plugin is required for Vencord to function."
|
? "This plugin is required for Vencord to function."
|
||||||
: makeDependencyList(dependencyCheck(plugin.name, depMap));
|
: makeDependencyList(dependencyCheck(plugin.name, depMap));
|
||||||
return <Tooltip text={tooltipText}>
|
return <Tooltip text={tooltipText} key={plugin.name}>
|
||||||
{({ onMouseLeave, onMouseEnter }) => (
|
{({ onMouseLeave, onMouseEnter }) => (
|
||||||
<PluginCard
|
<PluginCard
|
||||||
onMouseLeave={onMouseLeave}
|
onMouseLeave={onMouseLeave}
|
||||||
|
|
Loading…
Reference in a new issue