diff --git a/components/chat-example-panel.tsx b/components/chat-example-panel.tsx
index 591e623..05daedd 100644
--- a/components/chat-example-panel.tsx
+++ b/components/chat-example-panel.tsx
@@ -90,7 +90,10 @@ export default function ExamplePanel({
icon={}
title="Animated Diagram"
description="Draw a transformer architecture with animated connectors"
- onClick={() => setInput("Give me a **animated connector** diagram of transformer's architecture")}
+ onClick={() => {
+ setInput("Give me a **animated connector** diagram of transformer's architecture")
+ setFiles([])
+ }}
/>
}
title="Creative Drawing"
description="Draw something fun and creative"
- onClick={() => setInput("Draw a cat for me")}
+ onClick={() => {
+ setInput("Draw a cat for me")
+ setFiles([])
+ }}
/>