mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 12:59:14 +00:00
fix(widget): resolve typecheck issue
This commit is contained in:
parent
ce6c865fe6
commit
30c142f5b6
@ -6,7 +6,7 @@
|
||||
* 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).
|
||||
*/
|
||||
|
||||
import { createContext } from "react";
|
||||
import { createContext, ReactNode } from "react";
|
||||
|
||||
import { useBroadcast } from "../hooks/useBroadcastChannel";
|
||||
|
||||
@ -24,7 +24,7 @@ export type BroadcastChannelData = {
|
||||
};
|
||||
|
||||
export interface IBroadcastChannelProps {
|
||||
children?: React.ReactNode;
|
||||
children?: ReactNode;
|
||||
}
|
||||
|
||||
export const BroadcastChannelContext = createContext<IBroadcastChannelContext>({
|
||||
|
Loading…
Reference in New Issue
Block a user