mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 02:41:14 +03:00
Remove timeout defer hack in favor of refactored hook
This commit is contained in:
@@ -272,7 +272,6 @@ export default function Events() {
|
||||
...reviewFilter,
|
||||
...getReviewDayBounds(new Date(reviewLink.timestamp * 1000)),
|
||||
});
|
||||
globalThis.setTimeout(() => {
|
||||
setRecording(
|
||||
{
|
||||
camera: reviewLink.camera,
|
||||
@@ -284,7 +283,6 @@ export default function Events() {
|
||||
},
|
||||
true,
|
||||
);
|
||||
}, 0);
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user