mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +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);
|
||||
const handleFullScreenQuery = useCallback(
|
||||
(value: string) => {
|
||||
() => {
|
||||
if (!fullscreen) {
|
||||
toggleFullscreen();
|
||||
toggleFullscreen();
|
||||
}
|
||||
},
|
||||
[fullscreen, toggleFullscreen],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user