Enable para -> relay teleport
This commit is contained in:
parent
c7520b5f2f
commit
f470363254
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user