diff --git a/ts/hooks/useIconToImageURL.tsx b/ts/hooks/useIconToImageURL.tsx index 27cf7da14..f451faba7 100644 --- a/ts/hooks/useIconToImageURL.tsx +++ b/ts/hooks/useIconToImageURL.tsx @@ -58,12 +58,11 @@ export const convertIconToImageURL = async ( /> ); // wait for it to render - await sleepFor(500); + await sleepFor(200); const svg = root?.querySelector(`#icon-to-image-url svg`); svg?.setAttribute('xmlns', 'http://www.w3.org/2000/svg'); const svgString = svg?.outerHTML; - window.log.debug(`WIP: [convertIconToImageUrl] svgString: ${svgString}`); reactRoot?.unmount(); root?.removeChild(divElement);