diff --git a/pkg/interface/src/views/apps/links/LinkWindow.tsx b/pkg/interface/src/views/apps/links/LinkWindow.tsx index abc85d672..71ab000d6 100644 --- a/pkg/interface/src/views/apps/links/LinkWindow.tsx +++ b/pkg/interface/src/views/apps/links/LinkWindow.tsx @@ -48,10 +48,9 @@ export function LinkWindow(props: LinkWindowProps) { }, [graph.size]); const first = graph.peekLargest()?.[0]; - const [,,ship, name] = association['app-path'].split('/'); - const style = useMemo(() => + const style = useMemo(() => ({ height: "100%", width: "100%", @@ -60,6 +59,14 @@ export function LinkWindow(props: LinkWindowProps) { alignItems: 'center' }), []); + if (!first) { + return ( +