From 71025c6ed062cacae69b09597aae6a4de393116a Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Wed, 9 Apr 2025 15:54:46 +1000
Subject: sidebar: news use monitor height

Use monitor height instead of absolute
---
 src/modules/sidebar/packages.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/modules/sidebar/packages.tsx')

diff --git a/src/modules/sidebar/packages.tsx b/src/modules/sidebar/packages.tsx
index c073850..02b0702 100644
--- a/src/modules/sidebar/packages.tsx
+++ b/src/modules/sidebar/packages.tsx
@@ -1,10 +1,11 @@
+import type { Monitor } from "@/services/monitors";
 import News from "./modules/news";
 import Updates from "./modules/updates";
 
-export default () => (
+export default ({ monitor }: { monitor: Monitor }) => (
     <box vertical className="pane packages" name="packages">
         <Updates />
         <box className="separator" />
-        <News />
+        <News monitor={monitor} />
     </box>
 );
-- 
cgit v1.2.3-freya

