Reading value from undefined

Hi, I’m having an issue reading a field from undefined. I tried fixing it in my cloned repository, but there are many similar cases.
This is causing our application to crash.

image

Hello @Navid , This is a known issue. Please update to version 4.11.2 where the fix has already been applied. You can refer to the release here: :backhand_index_pointing_right: Amity UIKit Web OpenSource – v4.11.2

I’m using 4.11.2, but there are still many errors like that. So, I cloned the repo and fixed them myself.

There was another issue with showing the Create Community button condition. It is always logically true! You just need to remove the || true part and set the parameter’s default value to = true.

I fixed that in my clone as well, but the issue still exists in version 4.11.2.

Thanks for your reply.
Best,
Navid

Hello @Navid , Thank you for the update and for sharing the fixes you’ve applied in your clone. We really appreciate your input.

To help us with further improvements, could you please confirm which React version you are currently using?