Remove unused argument (#2731)

Don't show in changelog
This commit is contained in:
Aurélien Vivet
2021-06-11 12:17:00 +02:00
committed by GitHub
parent 4948e16dd5
commit 40f5eb3e23

View File

@@ -140,7 +140,7 @@ export default class VariablesList extends React.Component<Props, State> {
// We don't want to ever manipulate/access to variables that have been deleted (by removeRecursively):
// that's why it's important to only delete ancestor variables.
ancestorOnlyVariables.forEach(({ name, variable }: VariableAndName) =>
ancestorOnlyVariables.forEach(({ variable }: VariableAndName) =>
variablesContainer.removeRecursively(variable)
);
this.clearSelection();