We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_id
1 parent 7515067 commit a119462Copy full SHA for a119462
src/adapter/10/bindings.ts
@@ -136,7 +136,7 @@ export function getHookState(
136
// useContext
137
if (type === HookType.useContext) {
138
const context = list[index]._context || list[index].__c || list[index].c;
139
- const provider = c.context[context._id] || c.context[context.__c];
+ const provider = c.context[context._id] || c.context[context.__c] || c.context[context.__l];
140
return provider
141
? provider.props.value
142
: context._defaultValue || context.__;
0 commit comments