rename next to setValue
This commit is contained in:
committed by
Jacob Overgaard
parent
01c513a5b8
commit
13d0a07e3c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user