Add check for while accessing project URL
All checks were successful
Lint / lint (20.x) (pull_request) Successful in 4m34s

This commit is contained in:
Shreerang Kale 2025-02-03 15:46:42 +05:30
parent 8322f877c0
commit 22bb409617

View File

@ -87,7 +87,7 @@ export const ProjectCard = ({
<p className={theme.title()}>{project.name}</p>
</Tooltip>
<p className={theme.description()}>
{project.deployments[0].applicationDeploymentRecordData.url ?? 'No domain'}
{project.deployments[0]?.applicationDeploymentRecordData?.url ?? 'No domain'}
</p>
</div>
{/* Icons */}