You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
which I elsewhere use to fetch the relevant functions per actionType so I'm expecting the values to all be objects,
and now all of a sudden I'm getting:
I have a large map in my code that looks something like this:
which I elsewhere use to fetch the relevant functions per
actionTypeso I'm expecting the values to all be objects,and now all of a sudden I'm getting:
After a short debugging this seems to be the problem:
the assumption here about arrow functions is a little too generic :)
Expected
if
nameFuncreturns JSX thenMANAGE_ACTIONS.actionType.nameFunc.displayName === 'nameFunc'Actual
MANAGE_ACTIONS.displayName === 'MANAGE_ACTIONS'