Fix flicker of share buttons

pull/2879/head
Kamran Ahmed 2 years ago
parent 47dd9e5522
commit 7832e09826
  1. 3
      pages/[roadmap]/interactive.tsx

@ -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>
);
}

Loading…
Cancel
Save