fix: crash when using Google Translate, close #2121
https://github.com/facebook/react/issues/11538 Static text nodes must be wrapped when they are preceeded by a conditional expression. This case looks like it cannot be captured using eslint.
This commit is contained in:
parent
a76814ddfc
commit
4ae7290de1
|
|
@ -302,7 +302,8 @@ const BackTopIndicator: Component = memo(({ className }) => {
|
|||
icon2={<CircleProgress percent={readPercent} size={14} strokeWidth={2} />}
|
||||
status={readPercent === 0 ? "init" : "done"}
|
||||
/>
|
||||
{readPercent}%<br />
|
||||
<span>{readPercent}%</span>
|
||||
<br />
|
||||
</div>
|
||||
<MotionButtonBase
|
||||
onClick={() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue