File tree 2 files changed +2
-2
lines changed
packages/react-dom-bindings/src 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2273,7 +2273,7 @@ function diffHydratedCustomComponent(
2273
2273
// as a shared module for that reason.
2274
2274
const EXPECTED_FORM_ACTION_URL =
2275
2275
// eslint-disable-next-line no-script-url
2276
- "javascript :throw new Error ( 'A React form was unexpectedly submitted.' ) ";
2276
+ "javascript :throw new Error ( 'React form unexpectedly submitted.' ) ";
2277
2277
2278
2278
function diffHydratedGenericElement (
2279
2279
domElement : Element ,
Original file line number Diff line number Diff line change @@ -1015,7 +1015,7 @@ function makeFormFieldPrefix(resumableState: ResumableState): string {
1015
1015
const actionJavaScriptURL = stringToPrecomputedChunk (
1016
1016
escapeTextForBrowser (
1017
1017
// eslint-disable-next-line no-script-url
1018
- "javascript:throw new Error('A React form was unexpectedly submitted.')" ,
1018
+ "javascript:throw new Error('React form unexpectedly submitted.')" ,
1019
1019
) ,
1020
1020
) ;
1021
1021
You can’t perform that action at this time.
0 commit comments