mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-03 16:27:47 +08:00
refactor: update setFiles prop type to accept File[] and simplify file handling
This commit is contained in:
@@ -14,7 +14,7 @@ interface ChatMessageDisplayProps {
|
||||
messages: Message[];
|
||||
error?: Error | null;
|
||||
setInput: (input: string) => void;
|
||||
setFiles: (files: FileList | undefined) => void;
|
||||
setFiles: (files: File[]) => void;
|
||||
}
|
||||
|
||||
export function ChatMessageDisplay({
|
||||
|
||||
Reference in New Issue
Block a user