From 0c4aef6f2c9f7fa91fb76730ae3575beb271d509 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Tue, 14 Oct 2025 16:56:51 -0700 Subject: [PATCH] dyad pro: do not show upgrade banner (#1537) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > [!NOTE] > Hide the “Upgrade to Dyad Pro” link in `ChatErrorBox` when `isDyadProEnabled` is true. > > Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 424cd04f85385f923548b3fc54b4c83625992ade. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot). --- src/components/chat/ChatErrorBox.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/chat/ChatErrorBox.tsx b/src/components/chat/ChatErrorBox.tsx index 0ffd43e..891b102 100644 --- a/src/components/chat/ChatErrorBox.tsx +++ b/src/components/chat/ChatErrorBox.tsx @@ -99,12 +99,14 @@ export function ChatErrorBox({ {error}
- - Upgrade to Dyad Pro - + {!isDyadProEnabled && ( + + Upgrade to Dyad Pro + + )} Read docs