From 29ba09bffdbee8257cbf8938e054430f3be423c7 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 26 Jul 2026 00:33:05 +0000 Subject: [PATCH] Make NextStep action optional for informational callouts Desktop CI failed on main because RolesPage and SearchPage use NextStep without an action; prepare:build runs tsc -b which requires it. Co-authored-by: Damon van der linde --- apps/ui/src/components/PageChrome.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ui/src/components/PageChrome.tsx b/apps/ui/src/components/PageChrome.tsx index e1ec2c0..80cd54c 100644 --- a/apps/ui/src/components/PageChrome.tsx +++ b/apps/ui/src/components/PageChrome.tsx @@ -37,7 +37,7 @@ export function NextStep({ }: { label: string; detail: string; - action: ReactNode; + action?: ReactNode; tone?: "brand" | "warn" | "ok"; }) { return ( @@ -46,7 +46,7 @@ export function NextStep({
{label}

{detail}

-
{action}
+ {action != null ?
{action}
: null} ); }