Skip to content

Commit

Permalink
chore: remove braces
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis committed Sep 27, 2024
1 parent f0972ae commit 3152713
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/modules/web3/ChainConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ export const rpcFallbacks: Record<GqlChain, string | undefined> = {
}

const baseUrl = getBaseUrl()
const getPrivateRpcUrl = (chain: GqlChain) => {
return `${baseUrl}/api/rpc/${chain}`
}
const getPrivateRpcUrl = (chain: GqlChain) => `${baseUrl}/api/rpc/${chain}`

export const rpcOverrides: Record<GqlChain, string | undefined> = {
[GqlChain.Mainnet]: getPrivateRpcUrl(GqlChain.Mainnet),
[GqlChain.Arbitrum]: getPrivateRpcUrl(GqlChain.Arbitrum),
Expand Down

0 comments on commit 3152713

Please sign in to comment.