Skip to content

Commit

Permalink
feat: sync staging → main
Browse files Browse the repository at this point in the history
Signed-off-by: Griko Nibras <[email protected]>
  • Loading branch information
grikomsn committed Jan 12, 2024
2 parents 1a2419c + 6a6b69c commit cb4b1ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"]
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/ban-types": [
"error",
{
"types": {
// un-ban a type that's banned by default
"{}": false
},
"extendDefaults": true
}
]
}
}
],
"root": true
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function useChains<T = Chain[]>(args: UseChainsQueryArgs<T> = {}) {
.map((chain): Chain => {
return {
...chain,
chainName: chainIdToName[chain.chainID],
prettyName: chainIdToPrettyName[chain.chainID] || chain.chainName,
registryChainName: chainIdToName[chain.chainID],
};
Expand Down

1 comment on commit cb4b1ff

@vercel
Copy link

@vercel vercel bot commented on cb4b1ff Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.