FileReactions: make it robust against external DOM manipulation (#1772)
## Issue Crash when reacting while Google Translate is active. https://github.com/facebook/react/issues/11538#issuecomment-390386520
This commit is contained in:
parent
4b1bf22154
commit
f686d86910
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ export default function FileReactions(props: Props) {
|
||||||
<div className="button__fire-particle6" />
|
<div className="button__fire-particle6" />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{formatNumberWithCommas(likeCount, 0)}
|
<span>{formatNumberWithCommas(likeCount, 0)}</span>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ export default function FileReactions(props: Props) {
|
||||||
<div className="button__slime-drop2" />
|
<div className="button__slime-drop2" />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{formatNumberWithCommas(dislikeCount, 0)}
|
<span>{formatNumberWithCommas(dislikeCount, 0)}</span>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue