Unable to create reactions

I am trying to add reactions to components, but getting the following error. I have made sure to clone the reactions array and then modify it, but not getting the expected output. Here’s the GitHub repo (Code in code.ts file)

Found the bug. The navigation property inside action should have been “CHANGE_TO” instead of “NAVIGATE”.