diff --git a/package.json b/package.json index 063968495..d5b0f2cd6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "session-desktop", "productName": "Session", "description": "Private messaging from your desktop", - "version": "1.14.1", + "version": "1.14.2", "license": "GPL-3.0", "author": { "name": "Oxen Labs", diff --git a/ts/hooks/useIconToImageURL.tsx b/ts/hooks/useIconToImageURL.tsx index b27a8c086..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(100); + 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; - reactRoot?.unmount(); root?.removeChild(divElement);