Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit e61743f

Browse files
dcooneyGreg Rickaby
andauthored
Update components/atoms/Breadcrumbs/Breadcrumbs.js
Nice thanks. Co-authored-by: Greg Rickaby <[email protected]>
1 parent 4217a0c commit e61743f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/atoms/Breadcrumbs/Breadcrumbs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import styles from './Breadcrumbs.module.css'
1313
export default function Breadcrumbs({breadcrumbs}) {
1414
return (
1515
<>
16-
{!!breadcrumbs && !!breadcrumbs.length && (
16+
{!!breadcrumbs?.length && (
1717
<ul className={styles.breadcrumbs}>
1818
{breadcrumbs.map((breadcrumb, index) => (
1919
<li key={index}>

0 commit comments

Comments
 (0)