瀏覽代碼

Fix error on Spending component.

Oleksandr Korniienko 3 年之前
父節點
當前提交
3665ccffa9
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 (