Skip to content

Commit 050eed0

Browse files
authored
Merge pull request #3226 from yougotwill/fix/no-ref/qr_code_recovery_macos
Fix loading the Recovery Password QR Code on macOS with rosetta
2 parents e0d971b + d472d60 commit 050eed0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ts/hooks/useIconToImageURL.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,11 @@ export const convertIconToImageURL = async (
5858
/>
5959
);
6060
// wait for it to render
61-
await sleepFor(100);
61+
await sleepFor(200);
6262

6363
const svg = root?.querySelector(`#icon-to-image-url svg`);
6464
svg?.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
6565
const svgString = svg?.outerHTML;
66-
6766
reactRoot?.unmount();
6867
root?.removeChild(divElement);
6968

0 commit comments

Comments
 (0)