Skip to content

Commit

Permalink
chore: remove log
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed May 4, 2022
1 parent 298cd0e commit d6770fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/remix-react/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,6 @@ let FormImpl = React.forwardRef<HTMLFormElement, FormImplProps>(
reloadDocument
? undefined
: (event) => {
console.log(event.nativeEvent);
onSubmit && onSubmit(event);
if (event.defaultPrevented) return;
event.preventDefault();
Expand All @@ -940,8 +939,6 @@ let FormImpl = React.forwardRef<HTMLFormElement, FormImplProps>(
}
}

console.log(Object.fromEntries(formData));

submit(formData, { method, replace });
}
}
Expand Down

0 comments on commit d6770fb

Please sign in to comment.