From 1fd1c654a94a439d8a23a18540834e1a0695fb18 Mon Sep 17 00:00:00 2001
From: Kayla Washburn
Date: Tue, 19 Sep 2023 13:11:22 -0600
Subject: [PATCH] fix: hide empty update message box (#9784)
---
site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx b/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx
index b37f30c8d6..24ce38f080 100644
--- a/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx
+++ b/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx
@@ -247,7 +247,7 @@ export const WorkspaceReadyPage = ({
Restarting your workspace will stop all running processes and{" "}
delete non-persistent data.
- {latestVersion && (
+ {latestVersion?.message && (
{latestVersion.message}
)}