Respect classname when no preview is found

This commit is contained in:
Nicolas Mowen 2024-05-19 05:28:42 -06:00
parent 171a142adb
commit 47491fd1cf

View File

@ -82,7 +82,12 @@ export default function PreviewPlayer({
}
return (
<div className="flex size-full items-center justify-center rounded-lg text-white md:rounded-2xl">
<div
className={cn(
"flex size-full items-center justify-center rounded-lg text-white md:rounded-2xl",
className,
)}
>
No Preview Found
</div>
);