From 0bea2987b5eda5ed215660d89cba9ecd06aafcbf Mon Sep 17 00:00:00 2001 From: Tao Chen Date: Fri, 28 Jul 2023 08:42:15 -0700 Subject: [PATCH] Address comments --- webapp/src/components/chat/plan-viewer/PlanJsonViewer.tsx | 2 +- webapp/src/components/chat/tabs/PlansTab.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/src/components/chat/plan-viewer/PlanJsonViewer.tsx b/webapp/src/components/chat/plan-viewer/PlanJsonViewer.tsx index c3e1b66ab..49613f085 100644 --- a/webapp/src/components/chat/plan-viewer/PlanJsonViewer.tsx +++ b/webapp/src/components/chat/plan-viewer/PlanJsonViewer.tsx @@ -26,7 +26,7 @@ export const PlanJsonViewer: React.FC = ({ goal, json }) = - Plan in Json format + Plan in JSON format
                             {JSON.stringify(JSON.parse(json), null, 2)}
diff --git a/webapp/src/components/chat/tabs/PlansTab.tsx b/webapp/src/components/chat/tabs/PlansTab.tsx
index dce7c42be..1b1239044 100644
--- a/webapp/src/components/chat/tabs/PlansTab.tsx
+++ b/webapp/src/components/chat/tabs/PlansTab.tsx
@@ -129,10 +129,10 @@ function useTable(planMessages: IChatMessage[]) {
     ];
 
     /*
-    eslint-disable 
+    TODO: [Issue #63] Define a plan model
+    eslint-disable
         @typescript-eslint/no-unsafe-assignment,
         @typescript-eslint/no-unsafe-member-access,
-        @typescript-eslint/no-unsafe-call,
     */
     const items = planMessages.map((message, index) => {
         const plan = JSON.parse(message.content);