rename next to setValue

This commit is contained in:
Niels Lyngsø
2024-01-17 21:31:11 +01:00
committed by Jacob Overgaard
parent 01c513a5b8
commit 13d0a07e3c
59 changed files with 233 additions and 201 deletions

View File

@@ -16,7 +16,7 @@ export class WorkspaceContextCounter extends UmbBaseController {
// Lets expose methods to update the state:
increment() {
this.#counter.next(this.#counter.value + 1);
this.#counter.setValue(this.#counter.value + 1);
}
}