Skip to content

Commit

Permalink
refactor(IPFSInfoBoxStatusesProvider): simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
solidovic committed Nov 25, 2024
1 parent 3ebf479 commit c7d67d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions providers/ipfs-info-box-statuses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ export const IPFSInfoBoxStatusesProvider: FC<PropsWithChildren> = ({
queryKey: ['rpc-url-check', rpcUrl, chainId, stethAddress],
...STRATEGY_LAZY,
enabled: !!config.ipfsMode,
queryFn: async () => {
return await checkRpcUrl(rpcUrl, chainId, stethAddress);
},
queryFn: () => checkRpcUrl(rpcUrl, chainId, stethAddress),
});
const isRPCAvailable = isRPCAvailableRaw === true;

Expand Down

0 comments on commit c7d67d9

Please sign in to comment.