Merge pull request #923 from benphelps/fix-065-search

Fix search broken in 0.6.5
pull/922/head v0.6.6
shamoon 2 years ago committed by GitHub
commit 29e0b309e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,7 +84,7 @@ export default function Search({ options }) {
function handleSubmit(event) {
const q = encodeURIComponent(query);
const url = { selectedProvider };
const { url } = selectedProvider;
if (url) {
window.open(`${url}${q}`, options.target || "_blank");
} else {

Loading…
Cancel
Save