Skip to content

Commit f4e3c83

Browse files
committed
Fix other strings
1 parent a7e3cdf commit f4e3c83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dom-bindings/src/client/ReactDOMComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ function diffHydratedCustomComponent(
22732273
// as a shared module for that reason.
22742274
const EXPECTED_FORM_ACTION_URL =
22752275
// 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.')";
22772277

22782278
function diffHydratedGenericElement(
22792279
domElement: Element,

packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ function makeFormFieldPrefix(resumableState: ResumableState): string {
10151015
const actionJavaScriptURL = stringToPrecomputedChunk(
10161016
escapeTextForBrowser(
10171017
// 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.')",
10191019
),
10201020
);
10211021

0 commit comments

Comments
 (0)