Fix hydration error; fix linter reports; fix t.me link

This commit is contained in:
VityaSchel
2023-10-02 20:25:03 +04:00
parent f0c1347bbd
commit 410b5acb29
7 changed files with 44 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ export function Lesson({ lesson, width = 350 }: {
}
return (
<Card className={`w-full ${width === 450 ? `md:w-[450px] md:min-w-[450px] md:max-w-[450px]` : `md:w-[350px] md:min-w-[350px] md:max-w-[350px]`} flex flex-col relative overflow-hidden snap-start scroll-ml-16 shrink-0`}>
<Card className={`w-full ${width === 450 ? 'md:w-[450px] md:min-w-[450px] md:max-w-[450px]' : 'md:w-[350px] md:min-w-[350px] md:max-w-[350px]'} flex flex-col relative overflow-hidden snap-start scroll-ml-16 shrink-0`}>
{lesson.isChange && <div className='absolute top-0 left-0 w-full h-full bg-gradient-to-br from-[#ffc60026] to-[#95620026] pointer-events-none'></div>}
<CardHeader>
<div className='flex gap-4'>