Open sutuioncode opened 2 years ago
Trying to set a payload attribute with the name of type creates a dispatches an action where the value of the payload.type becomes the action name overriding the previous
payload.type
For information, the code replaced the type
Trying to set a payload attribute with the name of type creates a dispatches an action where the value of the![image](https://user-images.githubusercontent.com/26362991/149935197-fce0fcb3-b4cb-4539-a9f6-8895404c56e9.png)
payload.type
becomes the action name overriding the previous