fix: error when description is null (#536)
This commit is contained in:
parent
5c1d46aa25
commit
8e9703545a
1 changed files with 10 additions and 8 deletions
|
@ -228,6 +228,7 @@ const EventTypesPage = (props: InferGetServerSidePropsType<typeof getServerSideP
|
|||
/>
|
||||
<p>1-on-1</p>
|
||||
</div>
|
||||
{type.description && (
|
||||
<div className="flex items-center text-sm text-neutral-500">
|
||||
<InformationCircleIcon
|
||||
className="flex-shrink-0 mr-1.5 w-4 h-4 text-neutral-400"
|
||||
|
@ -237,6 +238,7 @@ const EventTypesPage = (props: InferGetServerSidePropsType<typeof getServerSideP
|
|||
{type.description.substring(0, 100)}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</span>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue