I am trying to restore transcript state on page reload using WebChat's Redux store, so that i can re-load the previous conversations.
But in certain cases, the transcript is coming as empty. please see the attached snippet, around the IF loop area seems the issue.
--- if (!transcript || transcript.length === 0) { ## this is where the issue seems like
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.