Explorar el Código

Fix error on Spending component.

Oleksandr Korniienko hace 3 años
padre
commit
3665ccffa9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 (