temp: visible debug banner for coverImage

This commit is contained in:
2026-05-26 16:11:33 +05:00
parent 2525ca2b32
commit 4222834539
@@ -127,7 +127,7 @@ export default async function LessonPage({ params }: Props) {
<div className="mb-8">
<KinescopePlayer videoId={lesson.kinescopeId} poster={lesson.coverImage ?? undefined} />
{/* DEBUG: remove after fix */}
{isAdmin && <p style={{fontSize:11,color:"gray",marginTop:4}}>coverImage: {lesson.coverImage ?? "NULL"}</p>}
<div style={{background:"red",color:"white",padding:"4px 8px",fontSize:12}}>DEBUG coverImage: {String(lesson.coverImage ?? "NULL")} | isAdmin: {String(isAdmin)}</div>
</div>
)}