The only solution I found is having this in the return statement of the reducer
return {
...state
,[topic_id]:{
...state[topic_id]
,matches:[
...state[topic_id].matches
,subticket
]
}
}
;
If there are other solutions, let me know please.
The state structure looks like this
![]()