mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-31 09:22:49 -05:00
Cleanup
This commit is contained in:
@@ -388,18 +388,18 @@ function App({ wsEndpoint, role }) {
|
|||||||
})
|
})
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const handleSetBlurred = useCallback((idx, blurred) => {
|
const handleSetBlurred = useCallback((viewIdx, blurred) => {
|
||||||
send({
|
send({
|
||||||
type: 'set-view-blurred',
|
type: 'set-view-blurred',
|
||||||
viewIdx: idx,
|
viewIdx,
|
||||||
blurred: blurred,
|
blurred: blurred,
|
||||||
})
|
})
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const handleReloadView = useCallback((idx) => {
|
const handleReloadView = useCallback((viewIdx) => {
|
||||||
send({
|
send({
|
||||||
type: 'reload-view',
|
type: 'reload-view',
|
||||||
viewIdx: idx,
|
viewIdx,
|
||||||
})
|
})
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
@@ -417,10 +417,10 @@ function App({ wsEndpoint, role }) {
|
|||||||
[streams],
|
[streams],
|
||||||
)
|
)
|
||||||
|
|
||||||
const handleDevTools = useCallback((idx) => {
|
const handleDevTools = useCallback((viewIdx) => {
|
||||||
send({
|
send({
|
||||||
type: 'dev-tools',
|
type: 'dev-tools',
|
||||||
viewIdx: idx,
|
viewIdx,
|
||||||
})
|
})
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user