mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(widget): resolve lint issue
This commit is contained in:
parent
859add9341
commit
b5d72761e4
@ -39,9 +39,7 @@ export const BroadcastChannelContext = createContext<{
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const BroadcastChannelProvider: FC<IBroadcastChannelProps> = ({
|
export const BroadcastChannelProvider: FC<IBroadcastChannelProps> = ({
|
||||||
// eslint-disable-next-line react/prop-types
|
|
||||||
channelName,
|
channelName,
|
||||||
// eslint-disable-next-line react/prop-types
|
|
||||||
children,
|
children,
|
||||||
}) => {
|
}) => {
|
||||||
const channelRef = useRef<BroadcastChannel | null>(null);
|
const channelRef = useRef<BroadcastChannel | null>(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user