Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TaoChenOSU committed Jul 28, 2023
1 parent 4939bda commit 0bea298
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/chat/plan-viewer/PlanJsonViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const PlanJsonViewer: React.FC<IPlanJsonViewerProps> = ({ goal, json }) =
</DialogTrigger>
<DialogSurface>
<DialogBody>
<DialogTitle>Plan in Json format</DialogTitle>
<DialogTitle>Plan in JSON format</DialogTitle>
<DialogContent>
<pre>
<code>{JSON.stringify(JSON.parse(json), null, 2)}</code>
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/components/chat/tabs/PlansTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0bea298

Please sign in to comment.