Lets the header's chat button and the floating one open the same chat modal, which ChatProvider owns. Read it with useChat.

Interfaces

I
ChatContextValue

Provided by ChatProvider through ChatContext. The modal closes itself, so opening is all its callers need.

Variables

v
ChatContext: React.Context<ChatContextValue>

Opens the chat modal. Outside ChatProvider it does nothing.