mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 04:48:51 +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
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
channelRef.current.close();
|
channelRef.current.close();
|
||||||
};
|
};
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const subscribe: IBroadcastChannelContext["subscribe"] = (
|
const subscribe: IBroadcastChannelContext["subscribe"] = (
|
||||||
|
Loading…
Reference in New Issue
Block a user