import { PencilSquareIcon } from "@heroicons/react/24/outline" import { useMessage } from "../../../hooks/useMessage" export const PlaygroundNewChat = () => { const { setHistory, setMessages, setHistoryId } = useMessage() const handleClick = () => { setHistoryId(null) setMessages([]) setHistory([]) // navigate(`/bot/${params.id}`); } return ( ) }