mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
fix: update input value in ChatPanel to provide a prompt for user interaction
This commit is contained in:
@@ -95,7 +95,7 @@ export default function ChatPanel({ onDisplayChart, onFetchChart }: ChatPanelPro
|
|||||||
<CardFooter className="pt-2">
|
<CardFooter className="pt-2">
|
||||||
<form onSubmit={onFormSubmit} className="w-full flex space-x-2">
|
<form onSubmit={onFormSubmit} className="w-full flex space-x-2">
|
||||||
<Input
|
<Input
|
||||||
value={input}
|
value={"what you can see on the drawio panel?"}
|
||||||
onChange={handleInputChange}
|
onChange={handleInputChange}
|
||||||
placeholder="Describe what changes you want to make to the diagram..."
|
placeholder="Describe what changes you want to make to the diagram..."
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
|
|||||||
Reference in New Issue
Block a user