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",
|
"name": "frankerfacez",
|
||||||
"author": "Dan Salvato LLC",
|
"author": "Dan Salvato LLC",
|
||||||
"version": "4.15.2",
|
"version": "4.15.3",
|
||||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -61,7 +61,9 @@ export default class Apollo extends Module {
|
||||||
const root = this.fine.react,
|
const root = this.fine.react,
|
||||||
inst = root && root.stateNode;
|
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 )
|
if ( ! client )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue