Skip to content

Commit

Permalink
Fixes ts issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Titou325 committed Jul 25, 2024
1 parent ec64093 commit 0930288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/examples/basic.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export const WithCustomFormLayer: Story = {
<form
onSubmit={(e) => {
e.preventDefault();
const formData = new FormData(e.target);
const formData = new FormData(e.target as any);
const values = Object.fromEntries(formData.entries());

alert(`Form values:\n${JSON.stringify(values, null, 2)}`);
Expand Down Expand Up @@ -397,7 +397,7 @@ export const WithPDFFormValues: Story = {
<form
onSubmit={(e) => {
e.preventDefault();
const formData = new FormData(e.target);
const formData = new FormData(e.target as any);
const values = Object.fromEntries(formData.entries());

alert(`Form values:\n${JSON.stringify(values, null, 2)}`);
Expand Down

0 comments on commit 0930288

Please sign in to comment.