1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 18:06:55 +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

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