mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 12:59:14 +00:00
fix: apply feedback update
This commit is contained in:
parent
7f45fc8d39
commit
b46bda0a07
@ -47,7 +47,7 @@ export const useBroadcastChannel = ({
|
|||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [channel, channelName, initialValue]);
|
}, [channel, channelName, initialValue]);
|
||||||
|
|
||||||
const send = (data?: EBCEvent) => {
|
const send = (data: EBCEvent) => {
|
||||||
channel?.postMessage(data);
|
channel?.postMessage(data);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user