v3: added a chatbox
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
6
src/hooks/useChat.ts
Normal file
6
src/hooks/useChat.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useContext } from "react";
|
||||
import { ChatContext } from "../contexts/ChatContext.ts";
|
||||
|
||||
export function useChat() {
|
||||
return useContext(ChatContext);
|
||||
}
|
||||
Reference in New Issue
Block a user