We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0d971b + d472d60 commit 050eed0Copy full SHA for 050eed0
ts/hooks/useIconToImageURL.tsx
@@ -58,12 +58,11 @@ export const convertIconToImageURL = async (
58
/>
59
);
60
// wait for it to render
61
- await sleepFor(100);
+ await sleepFor(200);
62
63
const svg = root?.querySelector(`#icon-to-image-url svg`);
64
svg?.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
65
const svgString = svg?.outerHTML;
66
-
67
reactRoot?.unmount();
68
root?.removeChild(divElement);
69
0 commit comments