about summary refs log tree commit diff
path: root/src/pages
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-04 22:25:54 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-04 22:25:54 +0200
commitd61eb7365d6186c47cba9ee05cc329dc83622735 (patch)
treedc56bb46624b5dc14d88be01bd666b1e0984f602 /src/pages
parentComponents: TimePicker: Add basic timepicker (diff)
downloadfs-tracer-frontend-d61eb7365d6186c47cba9ee05cc329dc83622735.tar.gz
fs-tracer-frontend-d61eb7365d6186c47cba9ee05cc329dc83622735.tar.bz2
fs-tracer-frontend-d61eb7365d6186c47cba9ee05cc329dc83622735.zip
Components: TimePicker: Propagate timeframe state
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/Home.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index 193b033..2ff9954 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -41,7 +41,7 @@ export default function Home(props: any) {
           <div className="flex flex-col w-full gap-7 flex-grow">
             <div className="flex flex-row gap-7 flex-grow">
               <div className="ml-auto mt-2">
-                <TimePicker />
+                <TimePicker timeframe={props.timeframe} setTimeframe={props.setTimeframe} />
               </div>
             </div>
             <div className="flex flex-row gap-7 flex-grow">