feat(media, suggestions): handle chat history correctly

This commit is contained in:
ItzCrazyKns
2025-12-27 20:03:34 +05:30
parent be7bd62a74
commit bb7b7170ca
6 changed files with 24 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ const SearchImages = ({
messageId,
}: {
query: string;
chatHistory: Message[];
chatHistory: [string, string][];
messageId: string;
}) => {
const [images, setImages] = useState<Image[] | null>(null);