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