Skip to content

Commit cdae31a

Browse files
authored
Fix typo (#20279)
1 parent 51a7cfe commit cdae31a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('ReactDOMServerPartialHydration', () => {
8787
});
8888

8989
// Note: This is based on a similar component we use in www. We can delete
90-
// once the extra div wrapper is no longer neccessary.
90+
// once the extra div wrapper is no longer necessary.
9191
function LegacyHiddenDiv({children, mode}) {
9292
return (
9393
<div hidden={mode === 'hidden'}>

packages/react-refresh/src/__tests__/ReactFresh-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('ReactFresh', () => {
7676
}
7777

7878
// Note: This is based on a similar component we use in www. We can delete
79-
// once the extra div wrapper is no longer neccessary.
79+
// once the extra div wrapper is no longer necessary.
8080
function LegacyHiddenDiv({children, mode}) {
8181
return (
8282
<div hidden={mode === 'hidden'}>

0 commit comments

Comments
 (0)