Skip to content

Commit

Permalink
Use const instead of let
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Dahlby <[email protected]>
  • Loading branch information
haacked and dahlbyk committed Jan 5, 2024
1 parent 8a0095b commit 011c3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ export class ValidationService {
// Because the submitter is not propagated when calling
// form.submit(), we recreate it here.
const submitter = submitEvent.submitter;
let initialFormAction = form.action;
const initialFormAction = form.action;
if (submitter) {
const name = submitter.getAttribute('name');
// If name is null, a submit button is not submitted.
Expand Down

0 comments on commit 011c3bc

Please sign in to comment.