Skip to content

Commit ed27b88

Browse files
committed
Optional chaining for beliggenhet i kontorer.
1 parent 844ea7d commit ed27b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/pages/office-page/office-details/officeInformation/OfficeInformation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const OfficeInformation = ({ officeData }: OfficeInformationProps) => {
5454
<Heading level="3" size="small" spacing>
5555
{getOfficeTranslations('location')}
5656
</Heading>
57-
{beliggenhet.adresseTilleggsnavn && (
57+
{beliggenhet?.adresseTilleggsnavn && (
5858
<BodyShort>{beliggenhet.adresseTilleggsnavn}</BodyShort>
5959
)}
6060
<BodyShort>{visitingAddress}</BodyShort>

0 commit comments

Comments
 (0)