From 945c4209e875554621a78d3dce3ba5b99e678d2e Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Thu, 2 Oct 2025 20:02:16 +0000 Subject: [PATCH] Remove frivilous UI updates. --- src/components/Shakespeare/PreviewPane.tsx | 25 ++-------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/src/components/Shakespeare/PreviewPane.tsx b/src/components/Shakespeare/PreviewPane.tsx index c45a2da2..6c0d43c7 100644 --- a/src/components/Shakespeare/PreviewPane.tsx +++ b/src/components/Shakespeare/PreviewPane.tsx @@ -537,12 +537,6 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o } }; - const handleClearMessages = () => { - clearErrors(); - setMessages([]); - setCopiedMessageIndex(null); - }; - const messageCount = messages.length; return ( @@ -574,21 +568,7 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o

Messages from your project will appear here

) : ( - <> - {/* Clear button when messages exist */} - {messageCount > 0 && ( -
- -
- )} - {messages.map((msg, index) => ( + messages.map((msg, index) => (
- ))} - + )) )}