File tree Expand file tree Collapse file tree 6 files changed +4
-14
lines changed Expand file tree Collapse file tree 6 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 1616 "dependencies" : {
1717 "@babel/runtime" : " ^7.27.6" ,
1818 "@lezer/highlight" : " ^1.2.1" ,
19- "@llamaindex/ui" : " ^2.1.1 " ,
19+ "@llamaindex/ui" : " ^2.1.2 " ,
2020 "@radix-ui/themes" : " ^3.2.1" ,
2121 "class-variance-authority" : " ^0.7.1" ,
2222 "clsx" : " ^2.1.1" ,
Original file line number Diff line number Diff line change 88import type { TypedAgentData } from "llama-cloud-services/beta/agent" ;
99import styles from "./HomePage.module.css" ;
1010import { useNavigate } from "react-router-dom" ;
11- import { agentClient } from "@/lib/client" ;
1211import { useEffect , useState } from "react" ;
1312
1413export default function HomePage ( ) {
@@ -45,20 +44,18 @@ function TaskList() {
4544 < div className = { styles . page } >
4645 < main className = { styles . main } >
4746 < div className = { styles . grid } >
48- < ItemCount title = "Total Items" client = { agentClient } />
47+ < ItemCount title = "Total Items" />
4948 < ItemCount
5049 title = "Reviewed"
5150 filter = { {
5251 status : { eq : "approved" } ,
5352 } }
54- client = { agentClient }
5553 />
5654 < ItemCount
5755 title = "Needs Review"
5856 filter = { {
5957 status : { eq : "pending_review" } ,
6058 } }
61- client = { agentClient }
6259 />
6360 </ div >
6461 < div className = { styles . commandBar } >
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import MyJsonSchema from "../schemas/MySchema.json" with { type: "json" };
1313import { useToolbar } from "@/lib/ToolbarContext" ;
1414import { useNavigate } from "react-router-dom" ;
1515import { modifyJsonSchema } from "@llamaindex/ui/lib" ;
16- import { agentClient } from "@/lib/client" ;
1716import { APP_TITLE } from "@/lib/config" ;
1817
1918export default function ItemPage ( ) {
@@ -27,7 +26,6 @@ export default function ItemPage() {
2726 jsonSchema : modifyJsonSchema ( MyJsonSchema as any , { } ) ,
2827 itemId : itemId as string ,
2928 isMock : false ,
30- client : agentClient ,
3129 } ) ;
3230
3331 const navigate = useNavigate ( ) ;
Original file line number Diff line number Diff line change 1616 "dependencies": {
1717 "@babel/runtime": "^7.27.6",
1818 "@lezer/highlight": "^1.2.1",
19- "@llamaindex/ui": "^2.1.1 ",
19+ "@llamaindex/ui": "^2.1.2 ",
2020 "@radix-ui/themes": "^3.2.1",
2121 "class-variance-authority": "^0.7.1",
2222 "clsx": "^2.1.1",
Original file line number Diff line number Diff line change 88import type { TypedAgentData } from "llama-cloud-services/beta/agent" ;
99import styles from "./HomePage.module.css" ;
1010import { useNavigate } from "react-router-dom" ;
11- import { agentClient } from "@/lib/client" ;
1211import { useEffect , useState } from "react" ;
1312
1413export default function HomePage ( ) {
@@ -45,20 +44,18 @@ function TaskList() {
4544 < div className = { styles . page } >
4645 < main className = { styles . main } >
4746 < div className = { styles . grid } >
48- < ItemCount title = "Total Items" client = { agentClient } />
47+ < ItemCount title = "Total Items" />
4948 < ItemCount
5049 title = "Reviewed"
5150 filter = { {
5251 status : { eq : "approved" } ,
5352 } }
54- client = { agentClient }
5553 />
5654 < ItemCount
5755 title = "Needs Review"
5856 filter = { {
5957 status : { eq : "pending_review" } ,
6058 } }
61- client = { agentClient }
6259 />
6360 </ div >
6461 < div className = { styles . commandBar } >
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import MyJsonSchema from "../schemas/MySchema.json" with { type: "json" };
1313import { useToolbar } from "@/lib/ToolbarContext" ;
1414import { useNavigate } from "react-router-dom" ;
1515import { modifyJsonSchema } from "@llamaindex/ui/lib" ;
16- import { agentClient } from "@/lib/client" ;
1716import { APP_TITLE } from "@/lib/config" ;
1817
1918export default function ItemPage ( ) {
@@ -27,7 +26,6 @@ export default function ItemPage() {
2726 jsonSchema : modifyJsonSchema ( MyJsonSchema as any , { } ) ,
2827 itemId : itemId as string ,
2928 isMock : false ,
30- client : agentClient ,
3129 } ) ;
3230
3331 const navigate = useNavigate ( ) ;
You can’t perform that action at this time.
0 commit comments