Skip to content

Commit

Permalink
refactor(fetch-state-machine): Rename resetToInitialState_ method to …
Browse files Browse the repository at this point in the history
…clean_
  • Loading branch information
AliMD committed Sep 26, 2024
1 parent 05bb40d commit 8e31471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fetch-state-machine/src/jfsm-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export abstract class AlwatrJsonFetchStateMachineBase<
}
}

protected override resetToInitialState_(): void {
super.resetToInitialState_();
protected override clean_(): void {
super.clean_();
delete this.jsonResponse_;
}
}

0 comments on commit 8e31471

Please sign in to comment.