mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.15.3
* Fixed: Apollo moved, causing problems initializing FFZ.
This commit is contained in:
parent
742da82515
commit
0fdb988da7
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.15.2",
|
||||
"version": "4.15.3",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
|
|
|
@ -61,7 +61,9 @@ export default class Apollo extends Module {
|
|||
const root = this.fine.react,
|
||||
inst = root && root.stateNode;
|
||||
|
||||
client = this.client = inst && inst.props && inst.props.client;
|
||||
client = this.client = inst?.props?.client || root?.memoizedProps?.client;
|
||||
if ( root && ! client )
|
||||
client = this.fine.searchTree(null, n => n.props?.client?.queryManager, 500);
|
||||
}
|
||||
|
||||
if ( ! client )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue