From 0dbd05966bb292e4de6ab7c5ea175da8e29c249c Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Sat, 20 Apr 2024 17:01:41 +0300 Subject: [PATCH] fix(device-uptime): pass style for card height --- src/pages/Dashboard/Dashboard.tsx | 4 +--- src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx index 314442eb..07b1ab80 100644 --- a/src/pages/Dashboard/Dashboard.tsx +++ b/src/pages/Dashboard/Dashboard.tsx @@ -68,9 +68,7 @@ const Dashboard = () => { -
- -
+ { +const DeviceUptime = ({ style }: { style?: React.CSSProperties }) => { const [isCalendarVisible, setIsCalendarVisible] = useState(false) const [dateRange, setDateRange] = useState({ from: undefined, @@ -31,7 +31,7 @@ const DeviceUptime = () => { } return ( - +