hotfix for social patch

This commit is contained in:
Zack Rauen 2019-05-22 01:35:56 -04:00
parent 4a568503b4
commit 28ba0718b4
2 changed files with 2 additions and 1 deletions

View File

@ -2531,6 +2531,7 @@ class V2 {
const children = data.returnValue.props.children;
if (!children || !children.length) return;
if (children[children.length - 2].type.displayName !== "Separator") return;
if (!children[children.length - 1].type.toString().includes("socialLinks")) return;
const original = children[children.length - 1].type;
const newOne = function() {
const returnVal = original(...arguments);

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long