fix: apply feedback update

This commit is contained in:
yassinedorbozgithub 2025-01-27 16:27:06 +01:00
parent b46bda0a07
commit efc512e262

View File

@ -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 };