Fix now preview found pulsing

This commit is contained in:
Nicolas Mowen 2024-03-15 16:01:35 -06:00
parent 82d268d610
commit 330eb30178

View File

@ -211,7 +211,7 @@ function PreviewVideoPlayer({
</video> </video>
{!loaded && <Skeleton className="absolute inset-0" />} {!loaded && <Skeleton className="absolute inset-0" />}
{cameraPreviews && !currentPreview && ( {cameraPreviews && !currentPreview && (
<div className="absolute inset-x-0 top-1/2 -y-translate-1/2 bg-black text-white rounded-2xl align-center text-center"> <div className="absolute inset-0 bg-black text-white rounded-2xl flex justify-center items-center">
No Preview Found No Preview Found
</div> </div>
)} )}