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

make keys for MacroPagesErrors more unique #3185

Merged

Conversation

peterbe
Copy link
Contributor

@peterbe peterbe commented Mar 10, 2021

Fixes #3184

@peterbe peterbe requested a review from fiji-flo March 10, 2021 19:47
fetch(`/_open?${sp.toString()}`);
}

return (
<div className="flaw flaw__macros">
<h3>{humanizeFlawName("macros")}</h3>
{flaws.map((flaw) => {
{flaws.map((flaw, i) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

What's that i for? That's not used anywhere, is it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right! I thought I needed it and later realized that it wasn't necessary.

@peterbe peterbe requested a review from fiji-flo March 11, 2021 20:25
Copy link
Contributor

@fiji-flo fiji-flo left a comment

Choose a reason for hiding this comment

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

Nice

@fiji-flo fiji-flo merged commit 0a194ed into mdn:main Mar 15, 2021
@peterbe peterbe deleted the 3184-make-keys-for-macropageserrors-more-unique branch March 15, 2021 15:30
peterbe added a commit to peterbe/yari that referenced this pull request Jun 1, 2021
* make keys for MacroPagesErrors more unique

Fixes mdn#3184

* make keys for MacroPagesErrors more unique

Fixes mdn#3184

* Revert "make keys for MacroPagesErrors more unique"

This reverts commit abd4918.

* feedbacked
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.

Bad React loop key on MacroPagesErrors with the same source
2 participants