Skip to content

Commit

Permalink
Fix search for twitch command store (#6766)
Browse files Browse the repository at this point in the history
* fix search depth

* rm unused console log
  • Loading branch information
dclstn authored Apr 23, 2024
1 parent 138f885 commit adeacb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/twitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ export default {
const node = searchReactParents(
getReactInstance(document.querySelector(STREAM_CHAT)),
(n) => n.pendingProps?.value?.getCommands != null,
20
25
);
context = node.pendingProps.value;
} catch (_) {}
Expand Down

0 comments on commit adeacb5

Please sign in to comment.