fix(widget): resolve typecheck issue

This commit is contained in:
yassinedorbozgithub 2025-01-29 17:23:20 +01:00
parent ce6c865fe6
commit 30c142f5b6

View File

@ -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). * 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"; import { useBroadcast } from "../hooks/useBroadcastChannel";
@ -24,7 +24,7 @@ export type BroadcastChannelData = {
}; };
export interface IBroadcastChannelProps { export interface IBroadcastChannelProps {
children?: React.ReactNode; children?: ReactNode;
} }
export const BroadcastChannelContext = createContext<IBroadcastChannelContext>({ export const BroadcastChannelContext = createContext<IBroadcastChannelContext>({