about summary refs log tree commit diff
path: root/src/pages/Home.tsx
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-04 22:40:47 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-04 22:45:01 +0200
commitff567f7f41ec88f962cac6f7fb3fa0162ecf0a67 (patch)
tree44cfb952542cc2d65a75a429daea75eed62d89a3 /src/pages/Home.tsx
parentComponents: TimePicker: Propagate timeframe state (diff)
downloadfs-tracer-frontend-ff567f7f41ec88f962cac6f7fb3fa0162ecf0a67.tar.gz
fs-tracer-frontend-ff567f7f41ec88f962cac6f7fb3fa0162ecf0a67.tar.bz2
fs-tracer-frontend-ff567f7f41ec88f962cac6f7fb3fa0162ecf0a67.zip
Components: LineGraph: Use timeframe for fetching data
Diffstat (limited to 'src/pages/Home.tsx')
-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 2ff9954..1a02702 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 name="File writes per second" supabase={props.supabase} />
+                <LineGraph name="File writes per second" supabase={props.supabase} timeframe={props.timeframe} />
               </div>
             </div>
             <div className="flex flex-row gap-7 mb-5 flex-grow">
               <div className="w-1/2 mr-auto">
-                <LineGraph name="caca" supabase={props.supabase} />
+                <LineGraph name="caca" supabase={props.supabase} timeframe={props.timeframe} />
               </div>
               <div className="w-1/2 flex flex-col">
                 <p className="text-center">Most edited files</p>