From b46bda0a07dbf36a1b6d31ab872c88539bbe7f74 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Mon, 27 Jan 2025 16:11:33 +0100 Subject: [PATCH] fix: apply feedback update --- frontend/src/hooks/useBroadcastChannel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/useBroadcastChannel.ts b/frontend/src/hooks/useBroadcastChannel.ts index 0ec4f1a3..f4e74628 100644 --- a/frontend/src/hooks/useBroadcastChannel.ts +++ b/frontend/src/hooks/useBroadcastChannel.ts @@ -47,7 +47,7 @@ export const useBroadcastChannel = ({ // eslint-disable-next-line react-hooks/exhaustive-deps }, [channel, channelName, initialValue]); - const send = (data?: EBCEvent) => { + const send = (data: EBCEvent) => { channel?.postMessage(data); };