This commit is contained in:
Strencher 2020-07-24 11:12:48 +02:00
parent ea5f5ca8c6
commit 5b8da050a4
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -21,8 +21,8 @@ export default new class EmoteMenu extends Builtin {
const head = Utilities.getNestedProp(ret, "props.children.props.children.1.props.children.0.props.children.props.children");
const body = Utilities.getNestedProp(ret, "props.children.props.children.1.props.children");
if(!head || !body) return ret;
const currentTab = Tabs.find(e => e.id === selected);
const selected = args.expressionPickerView;
const currentTab = Tabs.find(e => e.id === selected);
let tabProps = head[0].props;
head.push(
...Tabs.map(e => React.createElement("div", {