diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-07-04 22:40:47 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-07-04 22:45:01 +0200 |
commit | ff567f7f41ec88f962cac6f7fb3fa0162ecf0a67 (patch) | |
tree | 44cfb952542cc2d65a75a429daea75eed62d89a3 /src/pages | |
parent | Components: TimePicker: Propagate timeframe state (diff) | |
download | fs-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')
-rw-r--r-- | src/pages/Home.tsx | 4 |
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> |