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