Why hierarchicalMenu click events blocked?

I need to click event for hierarchicalMenu links. But it has blocked.
How can i add click event for the hierarchicalMenu item?

https://codesandbox.io/p/sandbox/funny-lucy-2fqxvh