mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
fix array out of range
This commit is contained in:
parent
baf363fcb0
commit
cfbc4a6310
@ -589,7 +589,8 @@ function DetectionReview({
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
: Array(itemsToReview)
|
: itemsToReview ??
|
||||||
|
Array(itemsToReview)
|
||||||
.fill(0)
|
.fill(0)
|
||||||
.map((_, idx) => (
|
.map((_, idx) => (
|
||||||
<Skeleton key={idx} className="size-full aspect-video" />
|
<Skeleton key={idx} className="size-full aspect-video" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user