1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00
* Fixed: Performance regression due to WYSIWYG emote preview injection. This may result in the feature working less effectively while a better solution is found.
This commit is contained in:
SirStendec 2023-03-31 23:15:49 -04:00
parent 880e80388a
commit 3d4b4f6225
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"name": "frankerfacez",
"author": "Dan Salvato LLC",
"version": "4.45.0",
"version": "4.45.1",
"description": "FrankerFaceZ is a Twitch enhancement suite.",
"private": true,
"license": "Apache-2.0",

View file

@ -532,8 +532,9 @@ export default class Input extends Module {
else
return;
// Make a copy, so that React reacts.
this.props.emotes = [...this.props.emotes];
// TODO: Somehow update other React state to deal with our
// injected changes. Making a shallow copy of the array
// runs too frequently.
}
inst.componentDidUpdate = function(props, ...args) {