fix: small style tweaks and bug fixes

fix: remove interactive styles from display elements

fix: automation form reset on submit

fix: prevent empty image src
This commit is contained in:
Carlos Valente
2025-08-11 05:58:53 +02:00
committed by Carlos Valente
parent 902edf4a85
commit 836fa52757
7 changed files with 23 additions and 18 deletions
@@ -248,7 +248,9 @@ export default function ProjectData() {
{...register(`custom.${idx}.url`)}
/>
<div className={style.imageContainer}>
<img src={watch(`custom.${idx}.url`)} alt='' loading='lazy' className='info__image' />
{watch(`custom.${idx}.url`) && (
<img src={watch(`custom.${idx}.url`)} alt='' loading='lazy' className='info__image' />
)}
</div>
</div>
</label>