After creating a navigation menu using NavigationMenu.create, the menu shows up but calling set function doesn't update the menu as described by the description.
To Reproduce
Steps to reproduce the behaviour:
Build an embedded app
Create a menu using NavigationMenu.create
Subscribe to redirects using app.subscribe(Redirect.Action.APP
Set active menu from callback to update the active menu Item
Describe the bug
After creating a navigation menu using NavigationMenu.create, the menu shows up but calling set function doesn't update the menu as described by the description.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The navigation menu item should become active as soon as we click on it.
Contextual information
Packages and versions
Additional context
I'm using NextJS and Next-router to handle client routing and not refresh the page.