mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 21:04:15 +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).
|
* 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>({
|
||||||
|
Loading…
Reference in New Issue
Block a user