https://sonarly.com/issue/28983?type=bug
MobileBreadcrumb crashes with TypeError when accessing `.children` on `undefined` because it assumes the `links` array always has at least 2 elements, but FormAdvancedTextFieldInput provides a default breadcrumb array with only 1 element when fullscreen text editing is triggered on mobile.
Fix: Changed the guard condition in Breadcrumb.tsx from `links.length > 0` to `links.length >= 2` before delegating to MobileBreadcrumb. MobileBreadcrumb assumes the links array always has at least 2 elements (it accesses `links[links.length - 2]`), but the guard only checked for > 0, allowing 1-element arrays through. When FormAdvancedTextFieldInput's default single-element breadcrumb array reached MobileBreadcrumb on mobile, `links[-1]` evaluated to `undefined` and accessing `.children` threw the TypeError. With this fix, 1-element arrays on mobile fall through to the desktop breadcrumb rendering, which safely handles any array length via `.map()`. All existing callers that pass 2+ element arrays are completely unaffected — they still route to MobileBreadcrumb as before.