Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
fixing compile errors from commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrotap committed Jun 3, 2023
1 parent f29da45 commit 0f70438
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions client/src/app/test/test.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ export class TestPage implements OnInit {
});
}

// storeData() {
// const data = { name: 'John Doe' };
// this.userDataService.storeSessionData(data).subscribe();
// }

// getData() {
// this.userDataService.getSessionData().subscribe((data) => {
// console.log(data);
// });
// }
storeData() {
const data = { name: 'John Doe' };
this.userDataService.storeSessionData(data).subscribe();
}

getData() {
this.userDataService.getSessionData().subscribe((data) => {
console.log(data);
});
}



Expand Down

0 comments on commit 0f70438

Please sign in to comment.