From 82a0ac3d1e9c8909186de47da540ad07a93d4cb7 Mon Sep 17 00:00:00 2001 From: Eddie Santos <9561596+eddie-santos@users.noreply.github.com> Date: Wed, 2 Jul 2025 13:26:14 -0700 Subject: Update notification template (#3035) --- packages/cli/src/ui/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/cli/src') diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index a805f721..c6cd567c 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -567,6 +567,9 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => { return ( + {/* Move UpdateNotification outside Static so it can re-render when updateMessage changes */} + {updateMessage && } + {/* * The Static component is an Ink intrinsic in which there can only be 1 per application. * Because of this restriction we're hacking it slightly by having a 'header' item here to @@ -584,7 +587,6 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => {
{!settings.merged.hideTips && } - {updateMessage && } , ...history.map((h) => (