From 133ed6cdf4ce11f29a965d07722d5512e2389323 Mon Sep 17 00:00:00 2001
From: McKayla Washburn
Date: Tue, 19 Sep 2023 18:29:01 +0000
Subject: [PATCH] fix: hide empty update message box
---
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 b37f30c8d6891..24ce38f0804f3 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}
)}