Ver Fonte

Fix error on Spending component.

Oleksandr Korniienko há 3 anos atrás
pai
commit
3665ccffa9
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/Proposals/Spending.tsx

+ 2 - 2
src/components/Proposals/Spending.tsx

@@ -31,8 +31,8 @@ const Spending = (props: IState) => {
     if (!sums[r]) sums[r] = 0;
     if (!p.detail) return unknown++;
     if (executionFailed(p.result, p.executed)) return;
-    sum += p.detail.Spending[0];
-    sums[r] += p.detail.Spending[0];
+    sum += p.detail.spending[0];
+    sums[r] += p.detail.spending[0];
   });
 
   return (