about summary refs log tree commit diff
path: root/src/pages
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2024-07-04 12:43:00 +0200
committerBaitinq <[email protected]>2024-07-04 21:18:11 +0200
commit10ac8d29532d32066df6642a9392e4fd56ab032b (patch)
tree398d71d3ff1b1fc692cd30f6f2f83754d0ffe472 /src/pages
parentComponents: SideBar: Highlight current page (diff)
downloadfs-tracer-frontend-10ac8d29532d32066df6642a9392e4fd56ab032b.tar.gz
fs-tracer-frontend-10ac8d29532d32066df6642a9392e4fd56ab032b.tar.bz2
fs-tracer-frontend-10ac8d29532d32066df6642a9392e4fd56ab032b.zip
Components: LineGraph: Fetch data from DB
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/Home.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index 37b97c3..8c3e23c 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -55,12 +55,12 @@ export default function Home(props: any) {
                 </div>
               </div>
               <div className="w-1/2 ml-auto">
-                <LineGraph />
+                <LineGraph name="File writes per second" supabase={props.supabase} />
               </div>
             </div>
             <div className="flex flex-row gap-7 mb-5 flex-grow">
               <div className="w-1/2 mr-auto">
-                <LineGraph />
+                <LineGraph name="caca" supabase={props.supabase} />
               </div>
               <div className="w-1/2 flex flex-col">
                 <p className="text-center">Most edited files</p>