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

PR Week 6 #33

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

Conversation

EzequielCaste
Copy link

Student Blog built with React using Vite.

Comment on lines +14 to +16
data.sort(sortByDate).map((cardData) =>
<Card key={cardData.date} data={cardData} />
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
data.sort(sortByDate).map((cardData) =>
<Card key={cardData.date} data={cardData} />
)
data.sort(sortByDate).map((cardData, index) =>
<Card key={index} data={cardData} />
)

No creo que sea buena idea usar la fecha como key para la card, puede que haya entradas que tengan el mismo dia, mejor lo veo usar el index

Copy link
Contributor

@pablo-alex pablo-alex left a comment

Choose a reason for hiding this comment

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

Hola @EzequielCaste todo esta correcto, veo que el responsive esta funcionando y todo esta de acuerdo a los requerimientos, deje un pequeño comentario pero ya esta probado. Si me puedes dar una mano con mi PR semana 6 te lo agradeceria

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.

2 participants