Skip to content

Commit fb42c41

Browse files
committed
Incorporate _id change
1 parent 0968fee commit fb42c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adapter/10/bindings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function getHookState(
136136
// useContext
137137
if (type === HookType.useContext) {
138138
const context = list[index]._context || list[index].__c || list[index].c;
139-
const provider = c.context[context._id] || c.context[context.__c];
139+
const provider = c.context[context._id] || c.context[context.__c] || c.context[context.__l];
140140
return provider
141141
? provider.props.value
142142
: context._defaultValue || context.__;

0 commit comments

Comments
 (0)