mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 04:48:51 +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]);
|
||||
|
||||
const send = (data: EBCEvent) => {
|
||||
channel?.postMessage(data);
|
||||
channel.postMessage(data);
|
||||
};
|
||||
|
||||
return { mode, value, send };
|
||||
|
Loading…
Reference in New Issue
Block a user