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
b46bda0a07
commit
efc512e262
@ -48,7 +48,7 @@ export const useBroadcastChannel = ({
|
|||||||
}, [channel, channelName, initialValue]);
|
}, [channel, channelName, initialValue]);
|
||||||
|
|
||||||
const send = (data: EBCEvent) => {
|
const send = (data: EBCEvent) => {
|
||||||
channel?.postMessage(data);
|
channel.postMessage(data);
|
||||||
};
|
};
|
||||||
|
|
||||||
return { mode, value, send };
|
return { mode, value, send };
|
||||||
|
Loading…
Reference in New Issue
Block a user