Skip to content

Commit

Permalink
fix: use protected hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Oct 6, 2021
1 parent 58d197c commit 44c6153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ export class App extends Component {
* Trigger `onRequest` hook.
*/
@observe('request')
private _onRequestChanged(oldValue: Request|undefined, newValue: Request) {
protected _onRequestChanged(oldValue: Request|undefined, newValue: Request) {
this.onRequest(oldValue, newValue);
}

/**
* Trigger `onRequest` hook.
*/
@observe('response')
private _onResponseChanged(oldValue: Response|undefined, newValue: Response) {
protected _onResponseChanged(oldValue: Response|undefined, newValue: Response) {
this.onResponse(oldValue, newValue);
}

Expand Down

0 comments on commit 44c6153

Please sign in to comment.