1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-21 16:41:24 +02:00

Fix flicker of share buttons

This commit is contained in:
Kamran Ahmed
2022-11-04 17:26:30 +04:00
parent 47dd9e5522
commit 7832e09826

View File

@@ -188,9 +188,8 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
onClose={() => setGroupId('')}
/>
{ (!isLoading && !isRendering) && <ShareIcons url={`https://roadmap.sh/${roadmap.id}`} text={roadmap.description} /> }
<div ref={roadmapRef} />
<ShareIcons url={`https://roadmap.sh/${roadmap.id}`} text={roadmap.description} />
</Container>
);
}