score:2

it looks like my suspicion was right. i was missing a trailing non-null assertion operator on the call to create the useauth0 lambda.

what was this:

export const useauth0 = () => usecontext(auth0context);

needed to be this:

export const useauth0 = () => usecontext(auth0context)!;

Related Query

More Query from same tag