Skip to content

Commit c14966c

Browse files
committed
single-src: inline calculatedProudction into production getter
1 parent 53d995a commit c14966c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/single-source/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ export class ProductionPlan {
55
}
66

77
get production() {
8-
return this.calculatedProduction;
9-
}
10-
11-
get calculatedProduction() {
128
return this._adjustments.reduce((sum, a) => sum + a.amount, 0);
139
}
1410

0 commit comments

Comments
 (0)