Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution #1418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

solution #1418

wants to merge 1 commit into from

Conversation

Ga1dar
Copy link

@Ga1dar Ga1dar commented Mar 27, 2025

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

The code looks great! Both App.jsx and Tabs.jsx are correctly implemented and meet all the requirements. Good job! 🎉


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Comment on lines +3 to +5
const safeActiveTabId = tabs.some(tab => tab.id === activeTabId)
? activeTabId
: tabs[0].id;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks redundant, you can just use activeTab

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.

3 participants