diff --git a/pkg/interface/src/views/apps/permalinks/embed.tsx b/pkg/interface/src/views/apps/permalinks/embed.tsx index 35646013f1..6f36e52e8b 100644 --- a/pkg/interface/src/views/apps/permalinks/embed.tsx +++ b/pkg/interface/src/views/apps/permalinks/embed.tsx @@ -63,7 +63,7 @@ function GraphPermalink( ); useEffect(() => { (async () => { - if (pending) { + if (pending || !index) { return; } try { @@ -87,7 +87,7 @@ function GraphPermalink( borderRadius="2" onClick={(e) => { e.stopPropagation(); }} > - {showTransclusion && ( + {showTransclusion && index && (