kodadot/nft-gallery

View on GitHub
utils/seo.ts

Summary

Maintainability
A
0 mins
Test Coverage
export const assetHub = ['ahk', 'ahp']

export const chainNameSeoMap = {
  ahk: 'Kusama',
  ahp: 'Polkadot',
}

export const getSeoPrefixName = (prefix) => {
  return chainNameSeoMap[prefix]
}