mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-28 12:36:42 +00:00
fix: update dependency in useEffect to include sendMessage for WebSocket handling
This commit is contained in:
parent
121199de9c
commit
2e0c136796
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ const RegexFormAndView = ({ profile = null, m3u, isOpen, onClose }) => {
|
|||
} catch (error) {
|
||||
console.error('Error sending WebSocket message:', error);
|
||||
}
|
||||
}, [websocketReady, m3u, debouncedPatterns, streamUrl, sampleInput]);
|
||||
}, [websocketReady, sendMessage, m3u, debouncedPatterns, streamUrl, sampleInput]);
|
||||
|
||||
useEffect(() => {
|
||||
const handler = setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue