Skip to content

Commit

Permalink
Update LiveDashboardView.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k authored Aug 10, 2024
1 parent f6c64ff commit fe991c1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions web/src/views/live/LiveDashboardView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { useResizeObserver } from "@/hooks/resize-observer";
import useKeyboardListener, {
KeyModifiers,
} from "@/hooks/use-keyboard-listener";
import { useSearchEffect } from "@/hooks/use-overlay-state";

type LiveDashboardViewProps = {
cameras: CameraConfig[];
Expand Down Expand Up @@ -267,15 +266,6 @@ export default function LiveDashboardView({
);

useKeyboardListener(["f"], onKeyboardShortcut);
const handleFullScreenQuery = useCallback(
() => {
if (!fullscreen) {
toggleFullscreen();
}
},
[fullscreen, toggleFullscreen],
);
useSearchEffect("fullscreen", handleFullScreenQuery);

return (
<div
Expand Down

0 comments on commit fe991c1

Please sign in to comment.