fix(widget): resolve lint react-hooks/exhaustive-deps

This commit is contained in:
yassinedorbozgithub 2025-01-30 15:09:54 +01:00
parent b852fa76a1
commit b72a9a736c

View File

@ -75,7 +75,6 @@ export const BroadcastChannelProvider: FC<IBroadcastChannelProps> = ({
// eslint-disable-next-line react-hooks/exhaustive-deps
channelRef.current.close();
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const subscribe: IBroadcastChannelContext["subscribe"] = (