When I run eval-expression I can type in an expression but enter is putting in a new line instead of executing the code, what should I look for to fix this ?

I am guessing it may be some kind of hook but not sure how to find the cause to resolve it

Example attempting to run a code snippet