1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00
* Fixed: Apollo moved, causing problems initializing FFZ.
This commit is contained in:
SirStendec 2019-10-31 16:25:41 -04:00
parent 742da82515
commit 0fdb988da7
2 changed files with 4 additions and 2 deletions

View file

@ -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": {

View file

@ -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 )