Skip to content

Commit

Permalink
Fix other strings
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Feb 22, 2024
1 parent a7e3cdf commit f4e3c83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ function diffHydratedCustomComponent(
// as a shared module for that reason.
const EXPECTED_FORM_ACTION_URL =
// eslint-disable-next-line no-script-url
"javascript:throw new Error('A React form was unexpectedly submitted.')";
"javascript:throw new Error('React form unexpectedly submitted.')";

function diffHydratedGenericElement(
domElement: Element,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ function makeFormFieldPrefix(resumableState: ResumableState): string {
const actionJavaScriptURL = stringToPrecomputedChunk(
escapeTextForBrowser(
// eslint-disable-next-line no-script-url
"javascript:throw new Error('A React form was unexpectedly submitted.')",
"javascript:throw new Error('React form unexpectedly submitted.')",
),
);

Expand Down

0 comments on commit f4e3c83

Please sign in to comment.