Open mozi47 opened 1 year ago
This error appear when you dont have any data in the database and I add this condition to prevent this error:
{typeof data?.desc === 'string' && <div className={styles.description} dangerouslySetInnerHTML={{ __html: data?.desc }} /> }
This error appear when you dont have any data in the database and I add this condition to prevent this error: