[Attrs > Avatar] Fix React not being defined

pull/39/head
Oj18 3 years ago
parent 27b20d7e0e
commit 395cc8adcf

@ -14,6 +14,8 @@
- Changed settings from async waiting for i18n to awaiting i18n at start of load
- Removed message easter eggs
- ### Fixes [fixed]
- Fixed avatar data attributes causing errors / not working
## v8.7.0 [2021-05-30]

@ -5,6 +5,8 @@ export const setThisScope = (scope) => {
};
export const patch = () => {
const { React } = goosemodScope.webpackModules.common;
const Avatar = goosemodScope.webpackModules.findByProps('Sizes', 'AnimatedAvatar');
goosemodScope.patcher.patch(Avatar, 'default', ([ { src } ], res) => {

Loading…
Cancel
Save