Skip to content

Commit 84de884

Browse files
committed
Fix: error messages (#27523)
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please make sure the following is done: 1. Fork [the repository](https://github.com/facebook/react) and create your branch from `main`. 2. Run `yarn` in the repository root. 3. If you've fixed a bug or added code that should be tested, add tests! 4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development. 5. Run `yarn test --prod` to test in the production environment. It supports the same options as `yarn test`. 6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect". 7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`). 8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files. 9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`). 10. If you haven't already, complete the CLA. Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html --> ## Summary Changes `before before` to `before` in error messages. <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> I want to improve error logs ## How did you test this change? <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes the user interface. How exactly did you verify that your PR solves the issue you wanted to solve? If you leave this empty, your PR will very likely be closed. --> DiffTrain build for commit 67cc9ba.
1 parent a600d56 commit 84de884

File tree

11 files changed

+25
-25
lines changed

11 files changed

+25
-25
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<5b025a45475b905abc64b47d27761956>>
10+
* @generated SignedSource<<26aab95b6c82a8752019aa5041168965>>
1111
*/
1212

1313
'use strict';
@@ -4103,7 +4103,7 @@ function checkPropStringCoercion(value, propName) {
41034103
if (willCoercionThrow(value)) {
41044104
error(
41054105
"The provided `%s` prop is an unsupported type %s." +
4106-
" This value must be coerced to a string before before using it here.",
4106+
" This value must be coerced to a string before using it here.",
41074107
propName,
41084108
typeName(value)
41094109
);
@@ -24801,7 +24801,7 @@ function createFiberRoot(
2480124801
return root;
2480224802
}
2480324803

24804-
var ReactVersion = "18.3.0-canary-18a9dd1c6-20231016";
24804+
var ReactVersion = "18.3.0-canary-67cc9ba87-20231016";
2480524805

2480624806
// Might add PROFILE later.
2480724807

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8968,7 +8968,7 @@ var devToolsConfig$jscomp$inline_1020 = {
89688968
throw Error("TestRenderer does not support findFiberByHostInstance()");
89698969
},
89708970
bundleType: 0,
8971-
version: "18.3.0-canary-18a9dd1c6-20231016",
8971+
version: "18.3.0-canary-67cc9ba87-20231016",
89728972
rendererPackageName: "react-test-renderer"
89738973
};
89748974
var internals$jscomp$inline_1213 = {
@@ -8999,7 +8999,7 @@ var internals$jscomp$inline_1213 = {
89998999
scheduleRoot: null,
90009000
setRefreshHandler: null,
90019001
getCurrentFiber: null,
9002-
reconcilerVersion: "18.3.0-canary-18a9dd1c6-20231016"
9002+
reconcilerVersion: "18.3.0-canary-67cc9ba87-20231016"
90039003
};
90049004
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90059005
var hook$jscomp$inline_1214 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9394,7 +9394,7 @@ var devToolsConfig$jscomp$inline_1062 = {
93949394
throw Error("TestRenderer does not support findFiberByHostInstance()");
93959395
},
93969396
bundleType: 0,
9397-
version: "18.3.0-canary-18a9dd1c6-20231016",
9397+
version: "18.3.0-canary-67cc9ba87-20231016",
93989398
rendererPackageName: "react-test-renderer"
93999399
};
94009400
var internals$jscomp$inline_1254 = {
@@ -9425,7 +9425,7 @@ var internals$jscomp$inline_1254 = {
94259425
scheduleRoot: null,
94269426
setRefreshHandler: null,
94279427
getCurrentFiber: null,
9428-
reconcilerVersion: "18.3.0-canary-18a9dd1c6-20231016"
9428+
reconcilerVersion: "18.3.0-canary-67cc9ba87-20231016"
94299429
};
94309430
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
94319431
var hook$jscomp$inline_1255 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<d07d0c4418febbfa3a7af950bf5a35a9>>
10+
* @generated SignedSource<<2f64224243ee373e646f3d253dda44f0>>
1111
*/
1212

1313
'use strict';
@@ -535,7 +535,7 @@ function checkKeyStringCoercion(value) {
535535
if (willCoercionThrow(value)) {
536536
error(
537537
"The provided key is an unsupported type %s." +
538-
" This value must be coerced to a string before before using it here.",
538+
" This value must be coerced to a string before using it here.",
539539
typeName(value)
540540
);
541541

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<80f486069e03d14e203b127506953943>>
10+
* @generated SignedSource<<f5ffd34207bf68626e2517844754d094>>
1111
*/
1212

1313
'use strict';
@@ -535,7 +535,7 @@ function checkKeyStringCoercion(value) {
535535
if (willCoercionThrow(value)) {
536536
error(
537537
"The provided key is an unsupported type %s." +
538-
" This value must be coerced to a string before before using it here.",
538+
" This value must be coerced to a string before using it here.",
539539
typeName(value)
540540
);
541541

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<3b748e6ef3690d854b6a0ddd99a5ffc5>>
10+
* @generated SignedSource<<43f45dbb0a24596830bb4e773f6a304c>>
1111
*/
1212

1313
'use strict';
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-canary-18a9dd1c6-20231016";
30+
var ReactVersion = "18.3.0-canary-67cc9ba87-20231016";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,
@@ -562,7 +562,7 @@ function checkKeyStringCoercion(value) {
562562
if (willCoercionThrow(value)) {
563563
error(
564564
"The provided key is an unsupported type %s." +
565-
" This value must be coerced to a string before before using it here.",
565+
" This value must be coerced to a string before using it here.",
566566
typeName(value)
567567
);
568568

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
580580
exports.useTransition = function () {
581581
return ReactCurrentDispatcher.current.useTransition();
582582
};
583-
exports.version = "18.3.0-canary-18a9dd1c6-20231016";
583+
exports.version = "18.3.0-canary-67cc9ba87-20231016";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ exports.useSyncExternalStore = function (
583583
exports.useTransition = function () {
584584
return ReactCurrentDispatcher.current.useTransition();
585585
};
586-
exports.version = "18.3.0-canary-18a9dd1c6-20231016";
586+
exports.version = "18.3.0-canary-67cc9ba87-20231016";
587587

588588
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
589589
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18a9dd1c60fdb711982f32ce5d91acfe8f158fe1
1+
67cc9ba8789335b9da0838a446137c1be62adbcd

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<0bc9bfaccb34bfd4afd0ac31fc947993>>
10+
* @generated SignedSource<<5d10dfcd27477fc0db2d477cf1db4fcb>>
1111
*/
1212

1313
'use strict';
@@ -7785,7 +7785,7 @@ function checkKeyStringCoercion(value) {
77857785
if (willCoercionThrow(value)) {
77867786
error(
77877787
"The provided key is an unsupported type %s." +
7788-
" This value must be coerced to a string before before using it here.",
7788+
" This value must be coerced to a string before using it here.",
77897789
typeName(value)
77907790
);
77917791

@@ -7798,7 +7798,7 @@ function checkPropStringCoercion(value, propName) {
77987798
if (willCoercionThrow(value)) {
77997799
error(
78007800
"The provided `%s` prop is an unsupported type %s." +
7801-
" This value must be coerced to a string before before using it here.",
7801+
" This value must be coerced to a string before using it here.",
78027802
propName,
78037803
typeName(value)
78047804
);
@@ -27172,7 +27172,7 @@ function createFiberRoot(
2717227172
return root;
2717327173
}
2717427174

27175-
var ReactVersion = "18.3.0-canary-5eb94d7e";
27175+
var ReactVersion = "18.3.0-canary-24faa607";
2717627176

2717727177
function createPortal$1(
2717827178
children,

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<3164e55515c62bbb81e5a056b2a85557>>
10+
* @generated SignedSource<<f82a1d3fa0fa16272f23a7d2e7a07e06>>
1111
*/
1212

1313
'use strict';
@@ -8078,7 +8078,7 @@ function checkKeyStringCoercion(value) {
80788078
if (willCoercionThrow(value)) {
80798079
error(
80808080
"The provided key is an unsupported type %s." +
8081-
" This value must be coerced to a string before before using it here.",
8081+
" This value must be coerced to a string before using it here.",
80828082
typeName(value)
80838083
);
80848084

@@ -8091,7 +8091,7 @@ function checkPropStringCoercion(value, propName) {
80918091
if (willCoercionThrow(value)) {
80928092
error(
80938093
"The provided `%s` prop is an unsupported type %s." +
8094-
" This value must be coerced to a string before before using it here.",
8094+
" This value must be coerced to a string before using it here.",
80958095
propName,
80968096
typeName(value)
80978097
);
@@ -27602,7 +27602,7 @@ function createFiberRoot(
2760227602
return root;
2760327603
}
2760427604

27605-
var ReactVersion = "18.3.0-canary-a628f875";
27605+
var ReactVersion = "18.3.0-canary-6a2d1c83";
2760627606

2760727607
function createPortal$1(
2760827608
children,

0 commit comments

Comments
 (0)