Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ describe('InspectedElement', () => {
const Wrapper = ({children}) => children;
const Target = React.memo(props => {
targetRenderCount++;
// Even though his hook isn't referenced, it's used to observe backend rendering.
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is supposed to be "this"

// Even though theirs hook isn't referenced, it's used to observe backend rendering.
React.useState(0);
return null;
});
Expand Down Expand Up @@ -430,7 +430,7 @@ describe('InspectedElement', () => {
const Wrapper = ({children}) => children;
const Target = React.memo(props => {
targetRenderCount++;
// Even though his hook isn't referenced, it's used to observe backend rendering.
// Even though theirs hook isn't referenced, it's used to observe backend rendering.
React.useState(0);
return null;
});
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.