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

Fix search broken in 0.6.5
This commit is contained in:
shamoon
2023-02-02 09:41:34 -08:00
committed by GitHub

View File

@@ -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 {