Skip to content

Commit

Permalink
Merge pull request kodadot#10779 from hassnian/issue-10778
Browse files Browse the repository at this point in the history
fix: mantle disable create nft
  • Loading branch information
vikiival authored Aug 10, 2024
2 parents c8e5b54 + 4d7a732 commit afe7159
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/config/permission.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const hasCreate: PartialConfig = {
dot: false,
ksm: false,
rmrk: false,
base: false,
imx: false,
}

const hasInsight: PartialConfig = {
Expand All @@ -30,7 +28,7 @@ const hasExplorer: PartialConfig = {
}

export const createVisible = (prefix: Prefix | string): boolean => {
return hasCreate[prefix] ?? true
return isEvm(prefix as Prefix) ? false : hasCreate[prefix] ?? true
}

export const listVisible = (prefix: Prefix | string): boolean => {
Expand Down

0 comments on commit afe7159

Please sign in to comment.