@@ -134,7 +134,7 @@ export const Navigation = ({
134134 { ( closePopover ) => (
135135 < SecondaryMenu title = { item . label } badgeType = { item . badgeType } >
136136 { sections ?. map ( ( section ) => (
137- < SecondaryMenu . Section key = { section . id } label = { section . label ?? null } >
137+ < SecondaryMenu . Section key = { section . id } label = { section . label } >
138138 { section . items . map ( ( subItem ) => (
139139 < SecondaryMenu . Item
140140 key = { subItem . id }
@@ -235,7 +235,7 @@ export const Navigation = ({
235235 { item . sections ?. map ( ( section ) => (
236236 < NestedSecondaryMenu . Section
237237 key = { section . id }
238- label = { section . label ?? null }
238+ label = { section . label }
239239 hasGap = { ! ! section . label }
240240 >
241241 { section . items . map ( ( subItem ) => (
@@ -319,7 +319,7 @@ export const Navigation = ({
319319 { ( closePopover ) => (
320320 < SecondaryMenu title = { item . label } badgeType = { item . badgeType } >
321321 { sections ?. map ( ( section ) => (
322- < SecondaryMenu . Section key = { section . id } label = { section . label ?? null } >
322+ < SecondaryMenu . Section key = { section . id } label = { section . label } >
323323 { section . items . map ( ( subItem ) => (
324324 < SecondaryMenu . Item
325325 key = { subItem . id }
@@ -355,7 +355,7 @@ export const Navigation = ({
355355 title = { sidePanelContent . label }
356356 >
357357 { sidePanelContent . sections ?. map ( ( section ) => (
358- < SecondaryMenu . Section key = { section . id } label = { section . label ?? null } >
358+ < SecondaryMenu . Section key = { section . id } label = { section . label } >
359359 { section . items . map ( ( subItem ) => (
360360 < SecondaryMenu . Item
361361 key = { subItem . id }
0 commit comments