Skip to content

Commit 1939727

Browse files
committed
fix(scan): temporarily disable replay render btton
1 parent fcad52e commit 1939727

File tree

1 file changed

+3
-2
lines changed
  • packages/scan/src/core/web/components/widget

1 file changed

+3
-2
lines changed

packages/scan/src/core/web/components/widget/header.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,12 @@ export const Header = () => {
143143
className="with-data-text mr-auto !overflow-visible text-xs text-[#888]"
144144
/>
145145

146-
<BtnReplay />
146+
{/* fixme: render replay button causes large amounts of cpu usage when idle */}
147+
{/* <BtnReplay /> */}
147148

148149
<button
149150
title="Close"
150-
class="react-scan-close-button"
151+
class="react-scan-close-button ml-auto"
151152
onClick={handleClose}
152153
>
153154
<Icon name="icon-close" />

0 commit comments

Comments
 (0)