Skip to content

Commit 6b3290b

Browse files
sebmarkbagegnoff
andcommitted
Update packages/react/src/ReactServerContext.js
Co-authored-by: Josh Story <[email protected]>
1 parent e330ce6 commit 6b3290b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/react-client/src/__tests__/ReactFlight-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('ReactFlight', () => {
105105
}).toErrorDev(
106106
'Server Context is deprecated and will soon be removed. ' +
107107
'It was never documented and we have found it not to be useful ' +
108-
'enough to warrant the downside it emposes on all apps.',
108+
'enough to warrant the downside it imposes on all apps.',
109109
{withoutStack: !withStack},
110110
);
111111
return ctx;

packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3326,7 +3326,7 @@ describe('ReactDOMFizzServer', () => {
33263326
}).toErrorDev(
33273327
'Server Context is deprecated and will soon be removed. ' +
33283328
'It was never documented and we have found it not to be useful ' +
3329-
'enough to warrant the downside it emposes on all apps.',
3329+
'enough to warrant the downside it imposes on all apps.',
33303330
);
33313331
}
33323332
return ServerContext;
@@ -5617,7 +5617,7 @@ describe('ReactDOMFizzServer', () => {
56175617
}).toErrorDev(
56185618
'Server Context is deprecated and will soon be removed. ' +
56195619
'It was never documented and we have found it not to be useful ' +
5620-
'enough to warrant the downside it emposes on all apps.',
5620+
'enough to warrant the downside it imposes on all apps.',
56215621
{withoutStack: true},
56225622
);
56235623
function Client() {

packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMBrowser-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,10 @@ describe('ReactFlightDOMBrowser', () => {
618618
[
619619
'Server Context is deprecated and will soon be removed. ' +
620620
'It was never documented and we have found it not to be useful ' +
621-
'enough to warrant the downside it emposes on all apps.',
621+
'enough to warrant the downside it imposes on all apps.',
622622
'Server Context is deprecated and will soon be removed. ' +
623623
'It was never documented and we have found it not to be useful ' +
624-
'enough to warrant the downside it emposes on all apps.',
624+
'enough to warrant the downside it imposes on all apps.',
625625
],
626626
{withoutStack: true},
627627
);

packages/react/src/ReactServerContext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function createServerContext<T: ServerContextJSONValue>(
3434
console.error(
3535
'Server Context is deprecated and will soon be removed. ' +
3636
'It was never documented and we have found it not to be useful ' +
37-
'enough to warrant the downside it emposes on all apps.',
37+
'enough to warrant the downside it imposes on all apps.',
3838
);
3939
}
4040
let wasDefined = true;

0 commit comments

Comments
 (0)