Skip to content

Commit 667c88b

Browse files
author
Terry Zhao
committed
fix prettier
1 parent 8d3aa7f commit 667c88b

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

test-proj/ui/src/lib/client.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
import { MySchema } from "@/schemas/MySchema";
22
import { ExtractedData } from "@llamaindex/cloud/beta/agent";
33
import { ApiClients } from "@llamaindex/ui";
4-
import { createCloudAgentClient, createLlamaDeployClient, createLlamaDeployConfig, cloudApiClient } from "@llamaindex/ui";
4+
import {
5+
createCloudAgentClient,
6+
createLlamaDeployClient,
7+
createLlamaDeployConfig,
8+
cloudApiClient,
9+
} from "@llamaindex/ui";
510
import { EXTRACTED_DATA_COLLECTION } from "./config";
611

712
const platformToken = import.meta.env.VITE_LLAMA_CLOUD_API_KEY;

test-proj/ui/src/pages/HomePage.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020

2121
.progressBar {
2222
margin-bottom: 1rem;
23-
}
23+
}

test-proj/ui/src/pages/HomePage.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import { ItemGrid, ItemCount, WorkflowTrigger, WorkflowProgressBar } from "@llamaindex/ui";
1+
import {
2+
ItemGrid,
3+
ItemCount,
4+
WorkflowTrigger,
5+
WorkflowProgressBar,
6+
} from "@llamaindex/ui";
27
import type { TypedAgentData } from "@llamaindex/cloud/beta/agent";
38
import styles from "./HomePage.module.css";
49
import { useNavigate } from "react-router-dom";
@@ -41,11 +46,14 @@ export default function HomePage() {
4146
/>
4247
</div>
4348
<div className={styles.commandBar}>
44-
<WorkflowTrigger deployment={deployment} customWorkflowInput={(files) => {
45-
return {
46-
fileId: files[0].fileId
47-
}
48-
}} />
49+
<WorkflowTrigger
50+
deployment={deployment}
51+
customWorkflowInput={(files) => {
52+
return {
53+
fileId: files[0].fileId,
54+
};
55+
}}
56+
/>
4957
</div>
5058
<WorkflowProgressBar className={styles.progressBar} />
5159
<ItemGrid

0 commit comments

Comments
 (0)