mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
memoize
This commit is contained in:
parent
4d6312cedd
commit
8f3bbbc9b7
@ -79,7 +79,7 @@ export default function LiveDashboardView({
|
||||
};
|
||||
}, [visibilityListener]);
|
||||
|
||||
const birdseyeConfig = config?.birdseye;
|
||||
const birdseyeConfig = useMemo(() => config?.birdseye, [config]);
|
||||
|
||||
return (
|
||||
<div className="size-full overflow-y-auto px-2">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user