React: Cannot read properties of undefined (reading 'split')
Hi,
I'm playing with self hosted novu (docker compose) in a react app. Every time I send a notification and then try to open the inbox component, there is a crash:
The crash is because the key property here is undefined:
Anyone has an idea what is causing this? When I connected to the SAAS version of Novu, I didn't have this problem.
All my docker images are with version
2.3.0
, and "@novu/react": "^3.10.1
. Happy to debug together!:)2 Replies
Hi
Please use 3.7.0 version or earlier
Please use 3.7.0 version or earlier
Awesome, thank you! It works with
novu/react
up to 3.8.1
. Was there a change in the API that is not reflected in the publicly available docker images yet?
Now a new problem!:) After viewing a notification, it can not be marked as Seen:
Looking into it, would be happy for any suggestions!
ok, figured it out:
with backend 2.3.0
, the last novu/react
version that can be used is 3.6.0