property ChatModalProps.onClose

Closes the chat, and drops the ?chat= deep link if there is one.

Type

() => void

Usage

import { type ChatModalProps } from "src/components/chat/ChatModal.tsx";