packages/react-hooks/src/ctx/ApiStats.tsx
Function getStats
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getStats (...apis: ApiPromise[]): { stats: ProviderStats, when: number } {
const stats: ProviderStats = {
active: {
requests: 0,
subscriptions: 0