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) => (
- ))} - + )) )}