Commit 1ff621d0 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: add missing prevent default

parent f53680a0
Pipeline #178733 failed with stage
in 37 seconds
......@@ -14,4 +14,5 @@
---
/label ~"status::needs-review" /milestone %"Curation module implemented"
/label ~"status::needs-review"
/milestone %"Curation module implemented"
......@@ -25,6 +25,8 @@ export default function ItemSearchForm(
const router = useRouter()
function onSubmit(event: FormEvent<HTMLFormElement>) {
event.preventDefault()
const values: SearchFormValues = Object.fromEntries(
new FormData(event.currentTarget),
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment