diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-06-13 20:18:24 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-06-13 20:18:24 +0530 |
| commit | 0606f56dc242aa68213858ee299940add5e40d52 (patch) | |
| tree | fcf25a33877a8b34b02713afaec789002c9ff0c0 /desktop/src/components/Header.tsx | |
| parent | a8f378220f7f59320528cf983c09ad8887473892 (diff) | |
| download | pomoru-0606f56dc242aa68213858ee299940add5e40d52.tar.xz pomoru-0606f56dc242aa68213858ee299940add5e40d52.zip | |
update timer animation and update edition in Cargo.toml
Diffstat (limited to 'desktop/src/components/Header.tsx')
| -rw-r--r-- | desktop/src/components/Header.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/src/components/Header.tsx b/desktop/src/components/Header.tsx index 8d679cf..5ddb1f0 100644 --- a/desktop/src/components/Header.tsx +++ b/desktop/src/components/Header.tsx @@ -29,12 +29,12 @@ export default function Header({ timer, activeTaskTitle }: HeaderProps) { </span> </div> <div className="header-time">{formatTime(timer.time_remaining_secs)}</div> - {activeTaskTitle && ( + <div className={`header-task-wrapper ${activeTaskTitle ? "visible" : ""}`}> <div className="header-task"> <span className="task-indicator" /> - {activeTaskTitle} + {activeTaskTitle || "No task"} </div> - )} + </div> </div> ); } |