mirror of
https://github.com/hexastack/hexabot
synced 2025-02-22 20:38:32 +00:00
fix(widget): resolve lint react-hooks/exhaustive-deps
This commit is contained in:
parent
b852fa76a1
commit
b72a9a736c
@ -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"] = (
|
||||
|
Loading…
Reference in New Issue
Block a user