mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 14:45:25 +03:00
Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
parent
1c0e2e8430
commit
f6c64ff88e
@ -268,9 +268,9 @@ export default function LiveDashboardView({
|
|||||||
|
|
||||||
useKeyboardListener(["f"], onKeyboardShortcut);
|
useKeyboardListener(["f"], onKeyboardShortcut);
|
||||||
const handleFullScreenQuery = useCallback(
|
const handleFullScreenQuery = useCallback(
|
||||||
(value: string) => {
|
() => {
|
||||||
if (!fullscreen) {
|
if (!fullscreen) {
|
||||||
toggleFullscreen();
|
toggleFullscreen();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[fullscreen, toggleFullscreen],
|
[fullscreen, toggleFullscreen],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user