+
+ {t('top-depositors', { symbol: bank.name })}
+
+ {topAccountsData[0] && topAccountsData[0].length ? (
+ topAccountsData[0].map((acc, i) => (
+
+ ))
+ ) : isLoading || isFetching ? (
+
+ {[...Array(5)].map((x, i) => (
+
+
+
+ ))}
+
+ ) : (
+
+
+
{t('no-depositors')}
+
+ )}
+
+
+ {t('top-borrowers', { symbol: bank.name })}
+
+ {topAccountsData[1] && topAccountsData[1].length ? (
+ topAccountsData[1].map((acc, i) => (
+
+ ))
+ ) : isLoading || isFetching ? (
+
+ {[...Array(5)].map((x, i) => (
+
+
+
+ ))}
+
+ ) : (
+
+
+
{t('no-borrowers')}
+
+ )}
+