Skip to content

Conversation

@dyegoaurelio
Copy link

The nested links prop is optional since the component allows links with and without nesting.

the code also checks for undefined when the prop is used

const menuItems = link.links?.map((item) => (

@netlify
Copy link

netlify bot commented Feb 27, 2023

Deploy Preview for zesty-dragon-10e479 ready!

Name Link
🔨 Latest commit a567afe
🔍 Latest deploy log https://app.netlify.com/sites/zesty-dragon-10e479/deploys/63fc1b036ec5dc0008fd2f2f
😎 Deploy Preview https://deploy-preview-52--zesty-dragon-10e479.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant