Update Component.ts

pull/4638/head
pushkin 6 years ago committed by GitHub
parent 3935cb2c27
commit ea263ce567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1250,7 +1250,7 @@ export default class Component {
}
const add_declaration = declaration => {
if (!~this.reactive_declarations.indexOf(declaration)) return;
if (this.reactive_declarations.includes(declaration)) return;
declaration.dependencies.forEach(name => {
if (declaration.assignees.has(name)) return;

Loading…
Cancel
Save