mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Use ?? instead of ||
This commit is contained in:
parent
2556d8c047
commit
134d2ef123
@ -15,7 +15,7 @@ export const OnepagerView = ({ item }: { item: Item }) => {
|
|||||||
{item.user_created?.first_name && <ContactInfoView heading='Du hast Fragen?' item={item} />}
|
{item.user_created?.first_name && <ContactInfoView heading='Du hast Fragen?' item={item} />}
|
||||||
{/* Description Section */}
|
{/* Description Section */}
|
||||||
<div className='tw-my-10 tw-mt-2 tw-px-6 tw-text-sm '>
|
<div className='tw-my-10 tw-mt-2 tw-px-6 tw-text-sm '>
|
||||||
<TextView itemId={item.id} rawText={item.text || 'Keine Beschreibung vorhanden'} />
|
<TextView itemId={item.id} rawText={item.text ?? 'Keine Beschreibung vorhanden'} />
|
||||||
</div>
|
</div>
|
||||||
{/* Next Appointment Section */}
|
{/* Next Appointment Section */}
|
||||||
{item.next_appointment && (
|
{item.next_appointment && (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user