From 3d6aa983dc069b1421db79bbe631e179e908fec5 Mon Sep 17 00:00:00 2001 From: Willie Zutz Date: Sat, 19 Jul 2025 17:41:58 -0600 Subject: [PATCH] feat(dashboard): Reflow differently. This is probably just a stop-gap until we get fully resizing widgets implemented. --- src/app/dashboard/page.tsx | 7 ++++++- src/components/Layout.tsx | 11 ++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index 657f059..9910292 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -224,7 +224,12 @@ const DashboardPage = () => { ) : widgets.length === 0 ? ( ) : ( -
+
{widgets.map((widget) => ( { + const segments = useSelectedLayoutSegments(); + const isDashboard = segments.includes('dashboard'); + return (
-
{children}
+
+ {children} +
); };