interstellar_ai/app/hooks/useChatHistory.tsx
2024-10-08 12:56:28 +02:00

14 lines
No EOL
268 B
TypeScript

import { useState } from "react"
const useChatHistory = () => {
type ChatMessages = {
name: string
messages: {}
timestamp: number
}
const [chathistory, setChatHistory] = useState<ChatMessages[]>()
}
export default useChatHistory