Skip to content

Commit

Permalink
🚚 small renames
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival committed Apr 11, 2023
1 parent ec249a6 commit 3d1c021
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/massmint/useMassMint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const useMassMint = () => {
const { urlPrefix } = usePrefix()
const queryPath = {
rmrk: 'chain-rmrk',
rmrk2: 'chain-ksm',
ksm: 'chain-ksm',
}

const doFetch = async () => {
Expand Down
2 changes: 1 addition & 1 deletion middleware/prefix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const rmrk2ChainPrefixesInHostname = ['ksm', 'rmrk']

export default function ({ store, route }): void {
const prefix = route.params.prefix || route.path.split('/')[1]
const chains = ['ksm', ...chainPrefixes]
const chains = [...chainPrefixes]
const isAnyChainPrefixInPath = chains.some((prefix) =>
route.path.includes(prefix)
)
Expand Down
2 changes: 1 addition & 1 deletion utils/queryPathResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function getPath(prefix: string) {
return 'subsquid/bsx/'
case 'chain-rmrk':
return 'subsquid/rmrk/'
case 'chain-rmrk2':
case 'chain-ksm':
return 'subsquid/rmrk2/'
default:
return ''
Expand Down

0 comments on commit 3d1c021

Please sign in to comment.