Hey thanks for pointing this out! I had heard this from a few other people as well, was a mistype from an older version of the code. Just updated the article and the GitHub repo. That section should be:
if (result.value) {
setPostedMessage(result.value.data);
}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the article Kenny. I have come across one issue
I do not see a response object, where do you get this ?
index.tsx
if (response.okay && response.result) {
setPostedMessage(hexToCV(response.result).value.data);
}
Hey thanks for pointing this out! I had heard this from a few other people as well, was a mistype from an older version of the code. Just updated the article and the GitHub repo. That section should be: