Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dOrgJelli committed Sep 2, 2021
1 parent 3b7ca46 commit 870aa78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/js/client/src/default-client-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const getDefaultClientConfig = Tracer.traceFunc(
provider: "https://ipfs.io",
fallbackProviders: [
"https://polywrap-dev.mypinata.cloud",
"https://ipfs.infura.io"
]
"https://ipfs.infura.io",
],
}),
},
// ENS is required for resolving domain to IPFS hashes
Expand Down
5 changes: 1 addition & 4 deletions packages/js/plugins/ipfs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,7 @@ export class IpfsPlugin extends Plugin {

clearTimeout(timer);

if (
this._config.fallbackProviders &&
!providerOverride
) {
if (this._config.fallbackProviders && !providerOverride) {
// Retry with a new provider
fallbackIdx += 1;

Expand Down

0 comments on commit 870aa78

Please sign in to comment.