[Patcher > Notices] Fix patching base component

pull/70/head
Oj 2 years ago
parent 52d674ac50
commit c7bdaf5021

@ -42,8 +42,8 @@ export const setThisScope = async (scope) => {
}
}
PatcherBase.patch(baseOwnerInstance.props.children, 'type', (_args, ret) => {
ret.props.children[1].props.children.props.children.unshift(React.createElement(NoticeContainer));
PatcherBase.patch(baseOwnerInstance.props.children[0], 'type', (_args, ret) => {
ret.props.children[1].props.children[1].props.children.props.children.unshift(React.createElement(NoticeContainer));
return ret;
});

Loading…
Cancel
Save