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('')} onClose={() => setGroupId('')}
/> />
{ (!isLoading && !isRendering) && <ShareIcons url={`https://roadmap.sh/${roadmap.id}`} text={roadmap.description} /> }
<div ref={roadmapRef} /> <div ref={roadmapRef} />
<ShareIcons url={`https://roadmap.sh/${roadmap.id}`} text={roadmap.description} />
</Container> </Container>
); );
} }

Loading…
Cancel
Save