Payload is undefined when using useStreamQueries
App Development4 posts135 views1 likesLast activity Jun 2022
AR
ariscatanOP
Jun 2022Hi, I just want to ask help about the payload issues in contracts returned by useStreamQueries.
The payload variable are undefined after I fetch some contracts. I am using Daml 2.2.0 using sandbox mode. Is there anything need to be setup on 2.2.0? before I did not encounter any issues when fetching a contracts.
Thanks for the help!
GA
Gary_Verhaegen
Jun 2022Hi @ariscatan,
Thanks for the bug report! This is not a known issue, and I’m not aware of any change in 2.2.0 that I would expect to cause this.
Would you by any chance be able to share a sample project that exposes the issue, so we can investigate further?
AR
ariscatan
Jun 2022Hi Gary,
It was fixed now, it wasnt a bug in Daml but its an issue in our react code. Thank you so much
Best regards,
GA
Gary_Verhaegen
Jun 2022Thanks for letting us know!
