瀏覽代碼

fix small typo for usage modal casing

Alexander Belanger 4 年之前
父節點
當前提交
74b7de5a3c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/main/home/Home.tsx

+ 1 - 1
dashboard/src/main/home/Home.tsx

@@ -307,7 +307,7 @@ class Home extends Component<PropsType, StateType> {
         )
         )
         .then((res) => {
         .then((res) => {
           const usage = res.data;
           const usage = res.data;
-          if (usage.exceeds) {
+          if (usage.exceeded) {
             this.context.setCurrentModal("UsageWarningModal", {
             this.context.setCurrentModal("UsageWarningModal", {
               usage,
               usage,
             });
             });