Coded-component does not run action


I am not sure why this stopped working, but it suddenly has. When someone clicks on the point on a graph I want an action to run. Like this:

              point: e.point

Now when I click the point, nothing happens. I have tried some debugging.

This does not log anything to the console:

  .then(() => console.timeEnd('done'))

This logs “Click Start” and “Click bottom” to the console.

console.log("Click start")
    point: e.point,
    .then(() => console.log('Action Performed'))
console.log('Click bottom')

It works when I try to run the code in a different coded component.

The container in which the coded component was placed was accidentally disabled. Consequently, the coded component appeared to be malfunctioning.