While my project is up and running, I have encountered an error in the terminal.
let obj = {
doc_id: sessionStorage.getItem('doc_id'),
batch_no: sessionStorage.getItem('batch_no')
}
I attempted to make adjustments by adding the following code. However, the error persists in the terminal, even though my project functions properly in Angular 17.
let obj = {
doc_id: sessionStorage?.getItem('doc_id'),
batch_no: sessionStorage?.getItem('batch_no')
}