diff --git a/Website/modules/Search.tsx b/Website/modules/Search.tsx index b199425..2932f47 100644 --- a/Website/modules/Search.tsx +++ b/Website/modules/Search.tsx @@ -55,8 +55,7 @@ export default function Search({onJobsChanged, closeSearch} : {onJobsChanged: Ev } } - const ExecuteSearch : EventHandler = (event) => { - event.preventDefault(); + const ExecuteSearch : EventHandler = () => { if(searchBoxValue.length < 1 || selectedConnector === undefined || selectedLanguage === ""){ console.error("Tried initiating search while not all fields where submitted.") return;