Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Jun 11, 2024
1 parent a158caf commit 1c3364c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/core/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,18 +314,6 @@ export class ComponentViewEvaluator {
throw new Error('Invalid Component Template');
}

private reset() {
if (this.rekaComponentRootComputation) {
this.rekaComponentRootComputation.dispose();
}

this.componentViewTreeComputation = null;
this.rekaComponentRootComputation = null;
this.rekaComponentPropsComputation = null;
this.rekaComponentPropsBindingComputation = null;
this.rekaComponentStateComputation = null;
}

compute() {
if (!this.resolveComponentComputation) {
this.resolveComponentComputation = new DisposableComputation(
Expand Down

0 comments on commit 1c3364c

Please sign in to comment.