diff --git a/packages/react-hooks/src/useTeleport.ts b/packages/react-hooks/src/useTeleport.ts index 18869489e6..c4836d9246 100644 --- a/packages/react-hooks/src/useTeleport.ts +++ b/packages/react-hooks/src/useTeleport.ts @@ -75,8 +75,7 @@ export function useTeleport (): Teleport { setState((prev) => ({ ...prev, - // FIXME Cannot quite get this working... - allowTeleport: false, // !!endpoint, + allowTeleport: !!endpoint, destinations: endpoint && endpoint.genesisHashRelay // FIXME we probably just want to check for !chainParaId.eq(paraId) || !!genesisHash (would affect Teleport modal) ? extractRelayDestinations(endpoint.genesisHashRelay, ({ genesisHash }) => !!genesisHash)