Fixed linting issue

This commit is contained in:
Simon Backx 2023-06-01 14:42:36 +02:00
parent 279a734f68
commit c88926d365

View File

@ -20,7 +20,7 @@ export const FormView: React.FC<FormProps & {
data-testid="wrapper" data-testid="wrapper"
style={{backgroundColor, color: backgroundColor && textColorForBackgroundColor(backgroundColor)}} style={{backgroundColor, color: backgroundColor && textColorForBackgroundColor(backgroundColor)}}
> >
{logo && <img alt={title} src={logo} className='h-[50px] w-auto'/>} {logo && <img alt={title} className='h-[50px] w-auto' src={logo}/>}
{title && <h1 className="text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl">{title}</h1>} {title && <h1 className="text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl">{title}</h1>}
{description && <p className='mb-5 text-center'>{description}</p>} {description && <p className='mb-5 text-center'>{description}</p>}